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

Sergey Bylokhov serb at openjdk.org
Mon Jul 7 18:52:38 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.

But from another point of view, nothing prevents us from additionally building it as part of the JDK image or JDK test-image build, just to ensure it is buildable, and perhaps it would be useful to include it in the sanity test group simply to touch that code.(and other perf tests as well).
>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
That was about demos, so we still can drop it in J2DBench.

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

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


More information about the client-libs-dev mailing list