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

Jan Lahoda jlahoda at openjdk.org
Mon Apr 7 21:07:36 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:

  Rewrite bits about charset decoding, removing mention of "internal objects."

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24438/files
  - new: https://git.openjdk.org/jdk/pull/24438/files/be8846e0..33e280df

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24438&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24438&range=01-02

  Stats: 27 lines in 1 file changed: 11 ins; 8 del; 8 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 core-libs-dev mailing list