A practical method for specification and analysis of exception handling -: A Java']Java/JVM case study

被引:8
|
作者
Börger, E
Schulte, W
机构
[1] Univ Pisa, Dipartimento Informat, Pisa, Italy
[2] Microsoft Res, Redmond, WA 98052 USA
关键词
semantics; exception handling; compiler; correctness; !text type='Java']Java[!/text; !text type='Java']Java[!/text] Virtual Machine; abstract state machines;
D O I
10.1109/32.877847
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In this paper, we provide a rigorous framework for language and platform independent design and analysis of exception handling mechanisms in modern programming languages and their implementations. To illustrate the practicality of the method we develop it for the exception handling mechanism of Java and show that its implementation on the Java Virtual Machine (JVM) is correct. For this purpose we define precise abstract models for exception handling in Java and in the JVM and define a compilation scheme of Java to JVM code which allows us to prove that, in corresponding runs, Java and the JVM throw the same exceptions and with equivalent effect. Thus, the compilation scheme can, with reasonable confidence, be used as a standard reference for Java exception handling compilation.
引用
收藏
页码:872 / 887
页数:16
相关论文
共 50 条
  • [21] An uncaught exception analysis for Java']Java
    Jo, JW
    Chang, BM
    Yi, KK
    Choe, KM
    JOURNAL OF SYSTEMS AND SOFTWARE, 2004, 72 (01) : 59 - 69
  • [22] Efficient Java']Java exception handling in just-in-time compilation
    Lee, SI
    Yang, BS
    Moon, SM
    SOFTWARE-PRACTICE & EXPERIENCE, 2004, 34 (15): : 1463 - 1480
  • [23] Research on the Novel and Efficient Mechanism of Exception Handling Techniques for Java']Java
    Lv, Xiaoqing
    PROCEEDINGS OF THE 2015 CONFERENCE ON INFORMATIZATION IN EDUCATION, MANAGEMENT AND BUSINESS, 2015, 20 : 112 - 116
  • [24] Exception analysis in the Java']Java Native Interface
    Li, Siliang
    Tan, Gang
    SCIENCE OF COMPUTER PROGRAMMING, 2014, 89 : 273 - 297
  • [25] Exception analysis for multithreaded Java']Java programs
    Ryu, SY
    Yi, KK
    SECOND ASIA-PACIFIC CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2001, : 23 - 30
  • [26] Constructing exception handling chains for testing Java']Java virtual machine implementations
    Chen, Bochuan
    Guo, Xiao
    Chen, Yuting
    Yu, Xiaofeng
    Bu, Lei
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (04)
  • [27] Exception-handling bugs in Java']Java and a language extension to avoid them
    Weimer, Westley
    ADVANCED TOPICS IN EXCEPTION HANDLING TECHNIQUES, 2006, 4119 : 22 - 41
  • [28] Unobtrusive Asynchronous Exception Handling with Standard Java']Java Try/Catch Blocks
    Mehrabi, Mostafa
    Giacaman, Nasser
    Sinnen, Oliver
    2018 32ND IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2018, : 855 - 864
  • [29] How Does Exception Handling Behavior Evolve? An Exploratory Study in Java']Java and C# Applications
    Cacho, Nelio
    Barbosa, Eiji Adachi
    Araujo, Juliana
    Pranto, Frederico
    Garcia, Alessandro
    Cesar, Thiago
    Soares, Eliezio
    Cassio, Arthur
    Filipe, Thomas
    Garcia, Israel
    2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 31 - 40
  • [30] Formal JVM code analysis in Java']JavaFAN
    Farzan, A
    Meseguer, J
    Rosu, G
    ALGEBRAIC METHODOLOGY AND SOFTWARE TECHNOLOGY: PROCEEDINGS, 2004, 3116 : 132 - 147