-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Set up the initial Class Library (ClassLib) structure for AriaJDK.
This library will serve as the java.base module — the foundation of all other modules in the JDK.
The implementation will be written in Kotlin, serving as the source for the compiled .class files loaded by the Aria JVM runtime.
This issue focuses on creating the directory structure and adding placeholder (dummy) Kotlin files for the most fundamental classes, ensuring that the JVM can locate basic classes like java.lang.Object, java.lang.String, and java.lang.System.
Tasks
- Create directory structure under
classlib/src/main/kotlin/java/lang/ - Add the following placeholder Kotlin classes:
Object.ktSystem.ktString.kt
- Ensure each class compiles successfully into
.classfiles - Verify that the build process (
x.pyor Gradle) includes the generated classes inside thejava.basemodule - Update the README (if needed) to describe the ClssLib layout
Example structure
classlib/
└── src/
└── main/
└── kotlin/
└── java/
└── lang/
├── Object.kt
├── String.kt
└── System.kt
Acceptance Criteria
- The
classlibmodule builds without errors - The directory structure for
java.baseis correctly generated Object,String, andSystemplaceholder classes exist and compile
Notes
- No functionality is required yet — empty or minimal class definitions are sufficient (e.g.,
class Object {}in Kotlin). - The purpose is to establish a clean, standardized layout for future contributions to the standard library.