RFR: 8367859: Remove shell script from nio exception gensrc

Alan Bateman alanb at openjdk.org
Wed Sep 17 15:28:24 UTC 2025


On Wed, 17 Sep 2025 10:17:33 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The only remaining shell script that is being used in the gensrc phase to generate Java code is for the nio exceptions. This should be removed as well, and replaced with a standard solution (Java buildtool or makefile API calls).

I really dislike this.  Can you please look at putting a template in java.nio.channels and java.nio.charsets for the exceptions in those packages? There will be a naming discussion to have on this too. Same thing for CharsetNameExceptions.java.template.

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

PR Comment: https://git.openjdk.org/jdk/pull/27338#issuecomment-3303528178


More information about the core-libs-dev mailing list