RFR: 8350982: -server|-client causes fatal exception on static JDK

Jiangli Zhou jiangli at openjdk.org
Tue Mar 4 19:18:57 UTC 2025


On Tue, 4 Mar 2025 18:48:28 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> Jiangli and I chatted about this today. We don't think there will be developers looking to specify -server or -client to a static image, instead this is more about the tests. So we think the best think is to look at the tests that still specify -server and see if it can be dropped. Some of the tests (say for C2) might be better off using `@requires vm.compiler2.enabled` or `@requires vm.flavor == "server"`.

Thanks for the notes, @AlanBateman. Yeah, updating the tests sounds the right thing to do, for cleanups. I'm going to withdraw this PR and create a new PR for the test updates. @dholmes-ora Please let me know if this sounds good to you. Alan and I also discussed (briefly) the part on the static JDK behavior, which can be described in any of the related JEP(s).

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

PR Comment: https://git.openjdk.org/jdk/pull/23881#issuecomment-2698669700


More information about the hotspot-runtime-dev mailing list