On Wed, 19 Feb 2025 17:43:10 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:

>> test/jdk/java/lang/System/SecurityManagerWarnings.java line 28:
>> 
>>> 26:  * @bug 8266459 8268349 8269543 8270380
>>> 27:  * @summary check various warnings
>>> 28:  * @requires !java.enablePreview
>> 
>> What is the reason that this test fails with --enable-preview?
>
> 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
 ```

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23653#discussion_r1962264733

Reply via email to