RFR: 8344706: Compiler Implementation of Compact Source Files and Instance Main Methods [v2]
Jan Lahoda
jlahoda at openjdk.org
Mon Apr 7 18:13:29 UTC 2025
> 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 one additional commit since the last revision:
Use local variable for System.out in print().
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24438/files
- new: https://git.openjdk.org/jdk/pull/24438/files/a5d223e1..be8846e0
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24438&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24438&range=00-01
Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/24438.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24438/head:pull/24438
PR: https://git.openjdk.org/jdk/pull/24438
More information about the compiler-dev
mailing list