Title :
A practical method for specification and analysis of exception handling-a Java/JVM case study
Author :
Borger, E. ; Schulte, Wolfram
Author_Institution :
Dipartimento di Inf., Pisa Univ., Italy
fDate :
9/1/2000 12:00:00 AM
Abstract :
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
Keywords :
Java; exception handling; formal specification; program compilers; Java; Java Virtual Machine; compilation scheme; exception handling analysis; exception handling specification; precise abstract models; programming languages; Computer aided software engineering; Computer languages; Concurrent computing; Java; Mathematical model; Object oriented modeling; Program processors; Programming profession; Runtime; Virtual machining;
Journal_Title :
Software Engineering, IEEE Transactions on