RFR: 8340133: Investigate if the java launcher could give hints about JShell [v2]
Magnus Ihse Bursie
ihse at openjdk.org
Wed Oct 16 07:49:17 UTC 2024
On Wed, 16 Oct 2024 07:45:15 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>> Or even `<MainClass>.java` to pair with `<MainClass>`
>
> That might not be the case in the future, if the file uses an "unnamed class" (https://openjdk.org/projects/amber/design-notes/on-ramp).
Also, if you change `<SourceFile.java>` to `<SourceFile>.java` (I guess it is a good idea), then you should also change ` <jar-file.jar>` to `<jar-file>.jar`, or maybe even `<JarFile>.jar` to better align with the style of the other variables.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21411#discussion_r1802537440
More information about the core-libs-dev
mailing list