RFR: 8350151: Support requires property to filter tests incompatible with --enable-preview [v2]

Leonid Mesnik lmesnik at openjdk.org
Wed Feb 19 17:49:57 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23653/files
  - new: https://git.openjdk.org/jdk/pull/23653/files/fafdff14..8019bec1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23653&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23653&range=00-01

  Stats: 4 lines in 2 files changed: 1 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/23653.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23653/head:pull/23653

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


More information about the compiler-dev mailing list