JDK 28 SLeeLa Source Set
The Java support surface is treated as a native SLeeLa source set.
Required mapping
Every supported Java class has:
- its Java package name,
- its Java class name,
- a matching .sleela filename,
- a SLeeLa declaration,
- its Java binary name,
- a path through the Java conformance boundary for Java behavior.
Execution model
- User writes SLeeLa.
- Loader resolves lib/java/java/.../<Class>.sleela.
- Compiler retains the SLeeLa declaration and operation.
- Java operations are lowered to the conformance boundary.
- The actual Java class, method, or constructor executes on the configured JDK.
- The result or exception returns to SLeeLa.
- Unsupported access fails closed.
Guarantee
This gives us a source-level SLeeLa representation of the Java API without duplicating Java's implementation.
The remaining implementation requirement is compiler/VM lowering and value marshaling so an ordinary SLeeLa expression can directly invoke the represented Java operation without a separate Java-side test program.
Design law
The .sleela file is the source. Java is the behavior provider. SLeeLa controls the request.