Class LaunchMultiFileSourceProgramsNotes
java.lang.Object
net.jrodolfo.java_evolution.java22.LaunchMultiFileSourceProgramsNotes
Explains launching multi-file source-code programs, introduced in Java 22.
Java's source launcher lowers the barrier for small programs because a build tool is not required for the first experiment. Java 22 expanded this idea to multi-file source programs, which helps small examples grow a little before they need Maven or Gradle.
This repository keeps the feature as notes because testing launcher behavior would require creating temporary source trees and spawning separate Java processes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionShows the basic command shape.Explains why this project documents the behavior instead of launching it.purpose()Explains the launcher goal.
-
Constructor Details
-
LaunchMultiFileSourceProgramsNotes
public LaunchMultiFileSourceProgramsNotes()
-
-
Method Details
-
purpose
-
exampleCommand
-
projectDecision
Explains why this project documents the behavior instead of launching it.- Returns:
- the project decision
-