8306914: Implement JEP 458: Launch Multi-File Source-Code Programs

Reviewed-by: jlahoda, jlaskey
This commit is contained in:
Christian Stein 2023-12-05 07:50:21 +00:00
parent aec386596d
commit 517b178819
27 changed files with 2523 additions and 860 deletions

View file

@ -228,6 +228,7 @@ module java.base {
java.instrument,
java.management.rmi,
jdk.jartool,
jdk.compiler,
jdk.jfr,
jdk.jlink,
jdk.jpackage;

View file

@ -32,7 +32,7 @@ java.launcher.opt.header = Usage: {0} [options] <mainclass> [args...]\n\
\ {0} [options] --module <module>[/<mainclass>] [args...]\n\
\ (to execute the main class in a module)\n\
\ or {0} [options] <sourcefile> [args]\n\
\ (to execute a single source-file program)\n\n\
\ (to execute a source-file program)\n\n\
\ Arguments following the main class, source file, -jar <jarfile>,\n\
\ -m or --module <module>/<mainclass> are passed as the arguments to\n\
\ main class.\n\n\