RFR: 8367859: Remove nio exception gensrc

Naoto Sato naoto at openjdk.org
Thu Sep 18 16:34:55 UTC 2025


On Thu, 18 Sep 2025 16:27:50 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> src/java.base/share/classes/java/nio/charset/IllegalCharsetNameException.java line 30:
>> 
>>> 28: /**
>>> 29:  * Unchecked exception thrown when a string that is not a
>>> 30:  * <a href="Charset.html#names">legal charset name</a> is used as such.
>> 
>> Could utilize new construct as `{@linkplain Charset##names legal charset name}`
>
> I assume Magnus is using the generated classes and I think best to not change anything else with this update. We can follow-up yesterday for "opportunities" to modernize.

OK fair enough. I just noticed that the file was modified, ie.

// -- This file was mechanically generated: Do not edit! -- //

was removed, so.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27352#discussion_r2360197251


More information about the core-libs-dev mailing list