计算机科学
异常处理
Java
程序设计语言
编译时间
指针(用户界面)
运行时系统
编译程序
稳健性(进化)
运行时验证
软件错误
原子性
并行计算
软件
形式验证
人工智能
基因
化学
数据库事务
生物化学
作者
Hongning Miao,Shaoying Liu
标识
DOI:10.1109/dsa56465.2022.00050
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI