Rupiah: Towards an Expressive Static Type System for Java (2001)
| Citations: | 2 - 1 self |
BibTeX
@MISC{Foster01rupiah:towards,
author = {John Foster},
title = {Rupiah: Towards an Expressive Static Type System for Java},
year = {2001}
}
OpenURL
Abstract
Despite Java's popularity, several practical limitations imposed by the language's type system have become increasingly apparent in recent years. A particularly glaring omission is the lack of a generic mechanism. As a result of this shortcoming, many recent projects have extended Java to support polymorphism in the style of C++ templates or Ada generics. One project, GJ [BOSW98], adds F-bounded parametric polymorphism [CCH 89] to Java via a homogeneous translation (such that only one class file results from each compiled source file), and produces bytecode that is compatible with the standard Java Virtual Machine. However while GJ's simple translation based on erasure allows for maximum interaction with existing Java code, the new parameterized types that it supports do not operate consistently with Java's semantics for lightweight reflection (i.e., checked type-casts and instanceof operations).







