Confined Types
Download
Author
Boris Bokowski and Jan Vitek
Tech report number
CERIAS TR 2001-63
Entry type
article
Abstract
The sharing and transfer of references in object-oriented languages is difficult to control. Without any constraint, practical experience has shown that even carefully engineered object-oriented code can be brittle, and subtle security deficiencies can go unnoticed. In this paper, we present inexpensive syntactic constraints that strengthen encapsulation by imposing static restrictions on the spread of references. In particular, we introduce confined types to impose a static scoping discipline on dynamic references and anonymous methods to loosen confinement somewhat to allow code reuse. We have implemented a verifier which performs a modular analysis of Java programs and provides a static guarantee that confinement is respected.
Download
Date
2001 – November
Journal
Software Practices and Experience
Key alpha
Vitek
Publication Date
1900-01-01
Location
A hard-copy of this is in the CERIAS Library

