On Wed, 19 Feb 2025 19:36:59 GMT, Roger Riggs <rri...@openjdk.org> wrote:
>> Ough, this test puzzled me. It fails with --enable-preview. However, I think >> I need more time to investigate the issue. So I update PR to exclude test >> that explicitly says that it shouldn't be executed with --enable-preview. > > It ran ok for me, once I got the command line flags correct. > It ran ok if I added `@enablePreview`. > > It also ran ok with an explicit @run command: (it does not currently have an > @run command). > > * @run main/othervm --enable-preview SecurityManagerWarnings > ``` 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? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23653#discussion_r1962334975