Add support for excluding tests based on JDK_OPTIONS
Open
enhancement
- Dominant language
- Java
- Stars
- 22
- Forks
- 114
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 8
Description
Some tests are not compatible to be run with particular JDK options. For example, a test that uses `-XX:+ClassRelationshipVerifier` is not compatible with options `-Xfuture` or `-Xverify:all` and will result in an JVM error if either of these options are used. Instead, it would be ideal for the test to be excluded if incompatible options are specified.
Contributor guide
Research direction
Start by locating where JDK_OPTIONS is read and where tests are selected or excluded. Use the ClassRelationshipVerifier example with -Xfuture and -Xverify:all to reproduce the JVM error, then verify that incompatible tests are excluded when those options are present.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100