RFR: 8356102: TestJcmdOutput, JcmdWithNMTDisabled and DumpSharedDictionary hs/tier1 tests fail on static-jdk [v2]
David Holmes
dholmes at openjdk.org
Wed May 14 00:46:50 UTC 2025
On Tue, 13 May 2025 17:18:36 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:
> As the child processes don't automatically get the jtreg system properties, individual tests should pass test.jdk & compile.jdk jtreg system properties to the child process if JDKToolFinder is used to locate JDK tools. In fact the three affected tests already pass the test.jdk setting to the child process. It seems reasonable to also pass the additional compile.jdk value as long as there's no ill effect.
Yes I agree, and I apologise for the unnecessary diversion from your original proposal. This isn't really about the static-image per-se but that code using JDKToolFinder must know that that the tool finder has been configured correctly, or else do that configuration itself.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25018#issuecomment-2878280901
More information about the hotspot-runtime-dev
mailing list