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 条
  • [1] A New Mutation Analysis Method for Testing Java']Java Exception Handling
    Ji, Changbin
    Chen, Zhenyu
    Xu, Baowen
    Wang, Ziyuan
    2009 IEEE 33RD INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOLS 1 AND 2, 2009, : 1229 - +
  • [2] Analysis of Exception Handling Patterns in Java']Java Projects: An Empirical Study
    Nakshatri, Suman
    Hegde, Maithri
    Thandra, Sahithi
    13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), 2016, : 500 - 503
  • [3] Exception handling: A field study in Java']Java and NET
    Cabral, Bruno
    Marques, Paulo
    ECOOP 2007 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2007, 4609 : 151 - +
  • [4] 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
  • [5] 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
  • [6] Can Java']Java handle exception handling?
    Pitt, WD
    DR DOBBS JOURNAL, 1999, 24 (08): : 103 - +
  • [7] Generic exception handling and the Java']Java monad
    Schröder, L
    Mossakowski, T
    ALGEBRAIC METHODOLOGY AND SOFTWARE TECHNOLOGY: PROCEEDINGS, 2004, 3116 : 443 - 459
  • [8] 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
  • [9] Understanding the Exception Handling Strategies of Java']Java Libraries: An Empirical Study
    Sena, Demostenes
    Coelho, Roberta
    Kulesza, Uira
    Bonifacio, Rodrigo
    13TH WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2016), 2016, : 212 - 222
  • [10] Exception-chain analysis: Revealing exception handling architecture in Java']Java server applications
    Fu, Chen
    Ryder, Barbara G.
    ICSE 2007: 29TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2007, : 230 - +