System and method for class loader constraint checking
Abstract
A computer system includes multiple class loaders for loading program class files into the system. A constraint checking mechanism is provided wherein a first class file loaded by a first class loader makes a symbolic reference to a second class file loaded by a second class loader, the symbolic reference including a descriptor of a third class file. The constraint mechanism requires that the first and second class files agree on the identity of the third class file and stores a list of constraints as a set of asymmetric relationships between class loaders. Each stored constraint, for a class loader which loaded a class file that contains a symbolic reference to another class file, includes a first parameter denoting the class loader which loaded the class file to which the symbolic references is made; and a second parameter denoting a class file which is identified by a descriptor in said symbolic reference.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 59.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An object-oriented computer system, including: two or more class loaders for loading program class files into the system; and a constraint checking mechanism so that where a first class file loaded by a first class loader makes a symbolic reference to a second class file loaded by a second class loader, said symbolic reference including a descriptor of a third class file, the constraint enforces that the first and second class files agree on the identity of the third class file; said constraint checking mechanism including means for; creating a first constraint data structure in an internal ca
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 59 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (3)
- Chen, F.G. and Hou, Ting-Wei, "Design, and Implementation of a Java Execution Environment", Dec. 14-16, 1998, retrieved from IEEE database, Sep. 25, 2003.*
- Goldberg, Allen, "A Specification of Java Loading and Bytecode Verification", p. 49-58, ACM 1998, retrieved from ACM Portal database Sep. 25, 2003.*
- McManis, Chuck, "The basics of Java class loaders", 1996, retrieved from www.javaworld.com on Sep. 25, 2003.