Analyzing exception flow in Java']Java™ programs

被引:0
|
作者
Robillard, MP [1 ]
Murphy, GC [1 ]
机构
[1] Univ British Columbia, Dept Comp Sci, Vancouver, BC V6T 1Z4, Canada
来源
SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS | 1999年 / 1687卷
关键词
exception handling; software analysis; object-oriented programming languages; software engineering tool;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Exception handling mechanisms provided by programming languages are intended to ease the difficulty of developing robust software systems. Using these mechanisms, a software developer can describe the exceptional conditions a module might raise, and the response of the module to exceptional conditions that may occur as it is executing. Creating a robust system from such a localized view requires a developer to reason about the flow of exceptions across modules. The use of unchecked exceptions, and in object-oriented languages, subsumption, makes it difficult for a software developer to perform thus reasoning manually. In this paper, we describe a tool called Jex that analyzes the flow of exceptions in Java code to produce views of the exception structure. We demonstrate how Jex can help a developer identify program points where exceptions are caught accidentally, where there is an opportunity to add finer-grained recovery code, and where error-handling policies are not being followed.
引用
收藏
页码:322 / 337
页数:16
相关论文
共 50 条
  • [1] An exploratory study on exception handling bugs in Java']Java programs
    Ebert, Felipe
    Castor, Fernando
    Serebrenik, Alexander
    JOURNAL OF SYSTEMS AND SOFTWARE, 2015, 106 : 82 - 101
  • [2] A Reflection on "An Exploratory Study on Exception Handling Bugs in Java']Java Programs"
    Ebert, Felipe
    Castor, Fernando
    Serebrenikt, Alexander
    PROCEEDINGS OF THE 2020 IEEE 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER '20), 2020, : 552 - 556
  • [3] Exception Handling Mechanism in Communicating Threads for Java']Java
    Hilderink, Gerald H.
    COMMUNICATION PROCESS ARCHITECTURES 2005, 2005, 63 : 317 - 334
  • [4] Implementation of Custom Exception and its Optimization in Java']Java
    Anurag
    Akariksha
    Saxena, Ankur
    PROCEEDINGS OF THE 10TH INDIACOM - 2016 3RD INTERNATIONAL CONFERENCE ON COMPUTING FOR SUSTAINABLE GLOBAL DEVELOPMENT, 2016, : 1237 - 1242
  • [5] EDO: Exception-directed optimization in Java']Java
    Ogasawara, T
    Komatsu, H
    Nakatani, T
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2006, 28 (01): : 70 - 105
  • [6] A study of exception handling and its dynamic optimization in Java']Java
    Ogasawara, T
    Komatsu, H
    Nakatani, T
    ACM SIGPLAN NOTICES, 2001, 36 (11) : 83 - 95
  • [7] Exception Evolution in Long-lived Java']Java Systems
    Osman, Haidar
    Chis, Andrei
    Corrodi, Claudio
    Ghafari, Mohammad
    Nierstrasz, Oscar
    2017 IEEE/ACM 14TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2017), 2017, : 302 - 311
  • [8] Test of Exception Handling in Different Java']Java Virtual Machine
    Li, Tingting
    PROCEEDINGS OF THE 2016 5TH INTERNATIONAL CONFERENCE ON MEASUREMENT, INSTRUMENTATION AND AUTOMATION (ICMIA 2016), 2016, 138 : 543 - 546
  • [9] Unveiling Exception Handling Guidelines Adopted by Java']Java Developers
    Melo, Hugo
    Coelho, Roberta
    Treude, Christoph
    2019 IEEE 26TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION AND REENGINEERING (SANER), 2019, : 128 - 139
  • [10] As-if-serial exception handling semantics for Java']Java futures
    Zhang, Lingli
    Krintz, Chandra
    SCIENCE OF COMPUTER PROGRAMMING, 2009, 74 (5-6) : 314 - 332