Year: 2000
Type: conference-paper
Abstract: We describe an extension to the Java programming language that supports static conformance checking and dynamic debugging of object “protocols,” i.e., sequencing constraints on the order in which methods may be called. Our Java protocols have a statically checkable subset embedded in richer descriptions that can be checked at run time. The statically checkable subtype conformance relation is based on Nierstrasz' proposal for regular (finite-state) process types, and is also very close to the conformance relation for architectural connectors in the Wright architectural description language by Allen and Garlan. Richer sequencing properties, which cannot be expressed by regular types alone, can be specified and checked at run time by associating predicates with object states. We describe the language extensions and their rationale, and the design of tool support for static and dynamic checking and debugging.
Institutions: The Ohio State University, University of Oregon
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Keywords: Java extension, run-time checks, compiler support
Open Access status: bronze
OpenAlex ID: W2080976253
