跳到主要导航 跳到搜索 跳到主要内容

Automatic Localization of Potential Faults for Java Runtime Exceptions

  • Hiroshima University

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Exceptions are unintended or undesired events that occur during program execution and have a negative effect on the robustness of the program. In the Java language, exceptions are divided into two types: checked exceptions and unchecked exceptions. A checked exception is required to be handled at compile time whereas an unchecked exception occurs at run time, so it is also called a runtime exception. Runtime exceptions can cause serious consequences like system crashes. Today's programs are still likely to contain a large number of runtime exceptions, such as null pointer exceptions and arithmetic exceptions in real-world bugs, indicating that the error-checking strategy is insufficient to clear the occurrence of runtime exceptions. In this paper, we propose a potential fault localization approach for Java runtime exceptions. It mainly uses regular expressions to support the detection of code fragments containing such exceptions and checklists to help the developer examine whether the exception may occur to cause errors.

源语言英语
主期刊名Proceedings - 2022 9th International Conference on Dependable Systems and Their Applications, DSA 2022
出版商Institute of Electrical and Electronics Engineers Inc.
页320-329
页数10
ISBN(电子版)9781665488778
DOI
出版状态已出版 - 2022
已对外发布是
活动9th International Conference on Dependable Systems and Their Applications, DSA 2022 - Wulumuqi, 中国
期限: 4 8月 2022 → 5 8月 2022

丛书

姓名Proceedings - 2022 9th International Conference on Dependable Systems and Their Applications, DSA 2022

会议

会议9th International Conference on Dependable Systems and Their Applications, DSA 2022
国家/地区中国
市Wulumuqi
时期4/08/22 → 5/08/22

学术指纹

探究 'Automatic Localization of Potential Faults for Java Runtime Exceptions' 的科研主题。它们共同构成独一无二的学术指纹。

引用此