RFR: 8356102: TestJcmdOutput, JcmdWithNMTDisabled and DumpSharedDictionary hs/tier1 tests fail on static-jdk [v2]

Jiangli Zhou jiangli at openjdk.org
Wed May 14 01:00:54 UTC 2025


On Wed, 14 May 2025 00:43:55 GMT, David Holmes <dholmes 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.

No problem at all. Thanks for thinking though all details, @dholmes-ora ! I'll refresh the PR to restore the initial version.

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

PR Comment: https://git.openjdk.org/jdk/pull/25018#issuecomment-2878320179


More information about the hotspot-runtime-dev mailing list