An uncaught exception analysis for Java
Citations

WEB OF SCIENCE

25
Citations

SCOPUS

40

초록

Current JDK Java compiler relies on programmer's declarations (by throws clauses) for checking against uncaught exceptions of the input program. It is not elaborate enough to remove programmer's unnecessary handlers nor suggest to programmers for specialized handlings (when programmer's declarations are too broad). We propose a static analysis of Java programs that estimates their uncaught exceptions independently of the programmer's declarations. This analysis is designed and implemented based on set-based framework. Its cost-effectiveness is suggested by sparsely analyzing the program at method level (hence reducing the number of unknowns in the flow equations). We have shown that our interprocedural exception analysis is more precise than JDK-style intraprocedural analysis, and also that our analysis can effectively detect uncaught exceptions for realistic Java programs. (C) 2003 Elsevier Inc. All rights reserved.

키워드

Javauncaught exception analysisclass analysisstatic analysisset-based analysis
제목
An uncaught exception analysis for Java
저자
Jo, JWChang, BMYi, KKChoe, KM
DOI
10.1016/S0164-1212(03)00057-8
발행일
2004-06
유형
Article; Proceedings Paper
저널명
Journal of Systems and Software
72
1
페이지
59 ~ 69