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

Naoto Sato naoto at openjdk.org
Tue Apr 22 17:22:49 UTC 2025


On Tue, 22 Apr 2025 12:39:05 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`)
>
> Jan Lahoda has updated the pull request incrementally with seven additional commits since the last revision:
> 
>  - Merge remote-tracking branch 'origin/finalize-concise-source-files' into finalize-concise-source-files
>  - Reverting test commit.
>    
>    This reverts commit 7047cf007cc7de937aa21e96125083ee92932692.
>  - Fixing tests.
>  - Updating copyright year.
>  - Adding bug number to tests.
>  - Fixing IO tests path
>  - Scratch

LGTM. I guess the coordination with Stuart is underway

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

Marked as reviewed by naoto (Reviewer).

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


More information about the compiler-dev mailing list