A core calculus for Java exceptions

Citation
D. Ancona et al., A core calculus for Java exceptions, ACM SIGPL N, 36(11), 2001, pp. 16-30
Citations number
6
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
36
Issue
11
Year of publication
2001
Pages
16 - 30
Database
ISI
SICI code
1523-2867(200111)36:11<16:ACCFJE>2.0.ZU;2-8
Abstract
In this paper we present a simple calculus (called CJE) in order to fully i nvestigate the exception mechanism of Java, and in particular its interacti on with inheritance, which turns out to be non trivial. Moreover, we show t hat the type system for the calculus directly driven by the Java Language S pecification (called FULL) uses too many types, in the sense that there are different types which provide exactly the same information. Hence, we obta in from FULL a simplified type system called MIN where equivalent types hav e been identified. We show that this is useful both for type-checking optim ization and for clarifying the static semantics of the language. The two ty pe systems axe proved to satisfy the subject reduction property.