RFR: 8344706: Compiler Implementation of Compact Source Files and Instance Main Methods

Christian Stein cstein at openjdk.org
Mon Apr 7 07:19:54 UTC 2025


On Fri, 4 Apr 2025 07:20:23 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> This is a PR that implements JEP: Compact Source Files and Instance Main Methods. Changes include:
> - `java.io.IO` moved to `java.lang.IO`, and no longer uses `System.console()` to implement the methods (thanks to @stuart-marks)
> - `java. ... .IO` is no longer automatically imported in any compilation unit
> - the feature is finalized (i.e. no longer requires `--enable-preview`)

Changes in source launcher related tests look good.

-------------

Marked as reviewed by cstein (Committer).

PR Review: https://git.openjdk.org/jdk/pull/24438#pullrequestreview-2745745703


More information about the kulla-dev mailing list