RFR: 8350151: Support requires property to filer tests incompatible with --enable-preview
    Leonid Mesnik 
    lmesnik at openjdk.org
       
    Sat Feb 15 19:48:45 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.
-------------
Commit messages:
 - Update VPProps
Changes: https://git.openjdk.org/jdk/pull/23653/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23653&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350151
  Stats: 27 lines in 5 files changed: 19 ins; 0 del; 8 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 core-libs-dev
mailing list