On Sat, 15 Feb 2025 19:43:39 GMT, Leonid Mesnik <lmes...@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.

This pull request has now been integrated.

Changeset: 1eb0db37
Author:    Leonid Mesnik <lmes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/1eb0db37608ae1dd05accc1e22c57d76fa2c72ce
Stats:     27 lines in 5 files changed: 19 ins; 0 del; 8 mod

8350151: Support requires property to filter tests incompatible with 
--enable-preview

Reviewed-by: alanb, rriggs

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

PR: https://git.openjdk.org/jdk/pull/23653

Reply via email to