New candidate JEP: 458: Launch Multi-File Source-Code Programs

CC 4evnyuij at gmail.com
Tue Oct 3 15:36:08 UTC 2023


Hi,

I’m not sure if the advantage of launching several source files will encourage even using a build tool at all. A beginner might see this feature given to them as something to make their beginning steps easier, but why switch at that point? The mechanism compiles everything for them when needed, and libraries can be specified over the classpath anyway. Why switch to a proper build tool?

I find the limitation of a single source file to be quite good, as it encourages using the appropriate technology for creating larger scale applications.

Constantin
Am 3. Okt. 2023, 17:27 +0200 schrieb Mark Reinhold <mark.reinhold at oracle.com>:
> https://openjdk.org/jeps/458
>
> Summary: Enhance the java application launcher to be able to run a
> program supplied as multiple files of Java source code. This will
> make the transition from small programs to larger ones more gradual,
> enabling developers to choose whether and when to go to the trouble of
> configuring a build tool.
>
> - Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20231003/7c10746b/attachment-0001.htm>


More information about the jdk-dev mailing list