RFR: 8350982: -server|-client causes fatal exception on static JDK [v2]
Jiangli Zhou
jiangli at openjdk.org
Thu Mar 6 23:32:55 UTC 2025
On Thu, 6 Mar 2025 07:44:43 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> I think the test still serves as a functional test: if an archive is specified, then -Xshare:auto is used by default.
>
> Would it be better to use @requires !jdk.static for now so this test isn't selected when testing static builds? There is work further down the line to figure out a story for static builds + AOT as the ultimate goal is to run jlink and produce a single executable so there wouldn't be a separate AOT cache/archive on the file system. It's much further down the road, not clear that it's worth trying to test intermediate tests with -Xshare:auto at this time.
Thanks. I agree with keeping the test. That's also related to @AlanBateman comments on if the test needs to be skipped for static JDK.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23881#discussion_r1984185761
More information about the hotspot-runtime-dev
mailing list