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

Jiangli Zhou jiangli at openjdk.org
Tue Mar 11 15:28:25 UTC 2025


On Mon, 10 Mar 2025 19:54:09 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"`.
>
>> @AlanBateman @dholmes-ora @iklam Do you have any other comments/questions about the change? @vnkozlov or others from compiler side, can you please take a look of the change as well? Thanks
> 
> I wasn't initially sure about XShareAuto.java but I see the exchange between you and Ioi so I think all good.

> > @AlanBateman @dholmes-ora @iklam Do you have any other comments/questions about the change? @vnkozlov or others from compiler side, can you please take a look of the change as well? Thanks
> 
> Please remove `* @bug 8005933` from XShareAuto.java as it no longer applies to that bug ID.

Done. Also updated @summary.

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

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


More information about the hotspot-compiler-dev mailing list