Show simple item record

dc.contributor.authorBirka, Adrianen_US
dc.date.accessioned2023-03-29T15:37:34Z
dc.date.available2023-03-29T15:37:34Z
dc.date.issued2003-06
dc.identifier.urihttps://hdl.handle.net/1721.1/149993
dc.description.abstractThis thesis presents the design, implementation, and evaluation of an extension to the Java language, ConstJava, that is capable of expressing immutability constraints and verifying them at compile time. The specific constraint expressed in ConstJava is that the transitive state of the object to which a given reference refers cannot be modified using that reference. In addition to the ability to specify and enforce this basic constraint, ConstJava includes several other features, such as mutable fields, immutable classes, templates, and the const cast operator, that make ConstJava a more useful language. The thesis evaluates the utility of ConstJava via experiments involving writing ConstJava code and converting Java code to ConstJava code. The evaluation of ConstJava shows that the language provides tangible benefits in early detection and correction of bugs that would otherwise be difficult to catch. There are also costs associated with the use of ConstJava. These are minimized by ConstJavaÔøΩs backward compatibility with Java, and by the high degree of inter-operability of the two languages, which allows for a less painful transition from Java to ConstJava. This technical report is a revision of the authorÔøΩs MasterÔøΩs thesis, which was advised by Prof. Michael D. Ernst.en_US
dc.relation.ispartofseriesMIT-LCS-TR-908
dc.titleComputer-Enforced Immutability for the Java Languageen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record