RFR: 8350151: Support requires property to filter tests incompatible with --enable-preview [v2]
Alan Bateman
alanb at openjdk.org
Wed Feb 19 19:45:53 UTC 2025
On Wed, 19 Feb 2025 17:49:57 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> It might be useful to be able to run testing with --enable-preview for feature development. The tests incompatible with this mode must be filtered out.
>>
>> I chose name 'java.enablePreview' , because it is more java property than vm or jdk. And 'enablePreview' to be similar with jtreg tag.
>>
>> Tested by running all test suites, and verifying that test is correctly selected.
>> There are more tests incompatible with --enable-preview, will mark them in the following bug.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>
> change other test to exclude
Marked as reviewed by alanb (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/23653#pullrequestreview-2627805876
More information about the compiler-dev
mailing list