adoptium / adoptium/TKG

Add support for excluding tests based on JDK_OPTIONS

Open
#65 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.