RFR: 8361216: Do not fork javac in J2DBench ant build

Phil Race prr at openjdk.org
Mon Jul 7 18:37:39 UTC 2025


On Tue, 1 Jul 2025 19:30:21 GMT, Eric Caspole <ecaspole at openjdk.org> wrote:

> Build J2DBench in ant using JAVA_HOME, not using fork to possibly pick a different javac from the PATH.

The build.xml files are for people who use netbeans.
Very recently, I proposed deleting them, but someone from redhat stepped up to offer to maintain them.
https://mail.openjdk.org/pipermail/client-libs-dev/2025-June/029847.html

And people don't want to have to have to build JDK in order to use J2DBench, nor is there any reason for the JDK build to compile it, so I don't think you should sweat that the JDK build system doesn't build it. 
Putting it somewhere miles away in a JDK build directory, even if it can be done independently of building a JDK you are making it harder, not easier.

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

PR Comment: https://git.openjdk.org/jdk/pull/26077#issuecomment-3046169408


More information about the client-libs-dev mailing list