Class Library Integration
Document the Class Library Integration JNode concept in the wiki.
Value: 5
Concept Summary
Integration with GNU Classpath and OpenJDK standard classes. Class Library Integration enables JNode to run standard Java applications by providing compatibility layers and extending the standard class library with JNode-specific implementations.
Key Files
- core/src/classpath/org/jnode/classpath/ClasspathLoader.java
- core/src/openjdk/org/jnode/openjdk/OpenJDKPatch.java
Occurrences
~80 references in classpath/openjdk packages
Wiki Status
PARTIALLY covered (Class-Library.md)
Bridges
JVM, Classloader, Java API
Instructions
Skill to Use
Use the [[update-wiki|update-wiki skill]] (load with skill({ name: "update-wiki" })) for understanding JNode internals.
Context Research
Review ClasspathLoader.java and OpenJDKPatch.java to understand the integration mechanisms. Study how GNU Classpath and OpenJDK classes are integrated, how JNode-specific extensions work, and how compatibility is maintained. Research the relationship between Class Library and the JVM.
Update index.md
- Pages table: Add entry for Class-Library-Integration.md
- Concepts → Pages table: Add "Class Library Integration" mapping to [[Class-Library-Integration]]
- Source Path → Pages table: Add mappings for
core/src/classpath/org/jnode/classpath/ and core/src/openjdk/org/jnode/openjdk/
- Task Routing table: Add relevant task route(s)
Task Routing Suggestions
- Java compatibility: Understanding class library integration is key for running standard Java code
- API extension: JNode extends standard Java APIs
- Bug fixes: OpenJDK patches enable JNode-specific fixes
Wiki Page Structure
# Class Library Integration
> Integration with GNU Classpath and OpenJDK standard classes.
## Overview
2-3 paragraph explanation of Class Library Integration, how JNode integrates with standard Java libraries, and how it extends the standard API.
## Key Components
| Class / File | Role |
|---|---|
| `core/src/classpath/org/jnode/classpath/ClasspathLoader.java` | Classpath loader |
| `core/src/openjdk/org/jnode/openjdk/OpenJDKPatch.java` | OpenJDK patches |
## How It Works
Explanation of how class library integration works, how standard classes are loaded, how JNode extensions integrate, and how compatibility is maintained.
## Gotchas & Non-Obvious Behavior
- JNode must maintain Java API compatibility
- Some standard classes have JNode-specific implementations
- OpenJDK patches enable JNode-specific features
## Related Pages
- [[VM-Classloader]]
- [[OpenJDK-Patches]]
- [[Java-API]]
Related Concepts: Java API, Classpath, OpenJDK, GNU Classpath, Classloader
Class Library Integration
Value: 5
Concept Summary
Integration with GNU Classpath and OpenJDK standard classes. Class Library Integration enables JNode to run standard Java applications by providing compatibility layers and extending the standard class library with JNode-specific implementations.
Key Files
Occurrences
~80 references in classpath/openjdk packages
Wiki Status
PARTIALLY covered (Class-Library.md)
Bridges
JVM, Classloader, Java API
Instructions
Skill to Use
Use the [[update-wiki|update-wiki skill]] (load with
skill({ name: "update-wiki" })) for understanding JNode internals.Context Research
Review ClasspathLoader.java and OpenJDKPatch.java to understand the integration mechanisms. Study how GNU Classpath and OpenJDK classes are integrated, how JNode-specific extensions work, and how compatibility is maintained. Research the relationship between Class Library and the JVM.
Update index.md
core/src/classpath/org/jnode/classpath/andcore/src/openjdk/org/jnode/openjdk/Task Routing Suggestions
Wiki Page Structure
Related Concepts: Java API, Classpath, OpenJDK, GNU Classpath, Classloader