On Thu, 10 Apr 2025 01:03:01 GMT, Jan Lahoda <jlah...@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 one additional > commit since the last revision: > > Add clause about handling of malformed/unmappable bytes. src/java.base/share/classes/java/lang/IO.java line 41: > 39: * The {@link #readln()} and {@link #readln(String)} methods decode bytes > read from > 40: * {@code System.in} into characters. The charset used for decoding is > specified by the > 41: * {@link System#getProperties stdin.encoding} property. If this property > is not present, @stuart-marks Are you planning to propose/integrate pull/24738 in advance of the JEP update? Asking because this paragraph will need to be adjusted if pull/24738 doesn't go in first. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24438#discussion_r2053585828