Five modules built with plain javac/java/jdeps/jlink on Temurin 25.0.5.1. Sources, broken/ cases, run.sh and captured transcripts in output/. README row added. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b4XrpfdpsacrvqnrBM
14 lines
528 B
Java
14 lines
528 B
Java
module com.acme.greeter {
|
|
// Greeting is part of Greeter's public signature, so every reader of greeter must also read model.
|
|
requires transitive com.acme.model;
|
|
|
|
// The public surface. Anything not listed here is invisible outside the module,
|
|
// even if the class is declared `public`.
|
|
exports com.acme.greeter.api;
|
|
|
|
// com.acme.greeter.internal is deliberately NOT exported.
|
|
|
|
// We look up implementations of Formatter at run time instead of naming them.
|
|
uses com.acme.greeter.api.Formatter;
|
|
}
|