On Thu, 20 Feb 2025 15:13:47 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> For me it fails with >> ----------System.err:(18/917)---------- >> stdout: []; >> stderr: [Error: Unable to initialize main class SecurityManagerWarnings >> Caused by: java.lang.NoClassDefFoundError: >> jdk/test/lib/process/OutputAnalyzer >> ] >> exitValue = 1 >> that seems pretty strange, might be test library issue? > > I haven't been able to reproduce that locally. Even with mis-matched > compilation of the test library and test code. > > I noticed the NoClassDefFoundError message comes from the child process. > The child is invoked with test.noclasspath=true and no path to the test > library. (intentionally) > The SecurityManagerWarning class explicitly refers to OutputAnalyzer. > There might be a path in which the new VM tries to load the OutputAnalyzer > (and throw an error) > > Finding a way to reproduce locally might be necessary to track down the cause. > Perhaps adding -Xlog (for the child) might provider more information about > the sequence of events. Please file a separate bug for the failure, so further investigation can be done. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23653#discussion_r1963775424