Affiliation:
1. Turku Centre for Computer Science (TUCS), Âbo Akademi University, Lemminktäisenkatu 14A, FIN-20520 Turku
Abstract
Type compatibility can be defined based on name equivalence, that is, explicit declarations, or on structural matching. We argue that component software has demands for both. For types expressing individual contracts, name equivalence should be used so that references are made to external semantical specifications. For types that are composed of several such contracts, the structure of this composition should decide about compatibility.We introduce compound types as the mechanism to handle such compositions. To investigate the integrability into a strongly typed language, we add compound types to Java and report on a mechanical soundness proof of the resulting type system.Java users benefit from the higher expressiveness of the extended type system. We introduce compound types as a strict extension of Java, that is without invalidating existing programs. In addition, our proposal can be implemented on the existing Java Virtual Machine.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Reference32 articles.
1. Adding type parameterization to the Java language
2. Netscape Communications. Netscape Piug-lns 1998. http://developer.netscape.com/docs/manuals/communicator/ plugin/index.htm.]] Netscape Communications. Netscape Piug-lns 1998. http://developer.netscape.com/docs/manuals/communicator/ plugin/index.htm.]]
Cited by
11 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献