An uncaught exception analysis for Java
- Authors
- Jo, JW; Chang, BM; Yi, KK; Choe, KM
- Issue Date
- Jun-2004
- Publisher
- ELSEVIER SCIENCE INC
- Keywords
- Java; uncaught exception analysis; class analysis; static analysis; set-based analysis
- Citation
- JOURNAL OF SYSTEMS AND SOFTWARE, v.72, no.1, pp 59 - 69
- Pages
- 11
- Journal Title
- JOURNAL OF SYSTEMS AND SOFTWARE
- Volume
- 72
- Number
- 1
- Start Page
- 59
- End Page
- 69
- URI
- https://scholarworks.sookmyung.ac.kr/handle/2020.sw.sookmyung/15874
- DOI
- 10.1016/S0164-1212(03)00057-8
- ISSN
- 0164-1212
1873-1228
- Abstract
- 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.
- Files in This Item
-
Go to Link
- Appears in
Collections - 공과대학 > 소프트웨어학부 > 1. Journal Articles
Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.