RFR: 8350151: Support requires property to filter tests incompatible with --enable-preview [v2]
Leonid Mesnik
lmesnik at openjdk.org
Wed Feb 19 17:49:58 UTC 2025
On Mon, 17 Feb 2025 08:28:05 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>>
>> change other test to exclude
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23653#discussion_r1962116805
More information about the compiler-dev
mailing list