-
Enhancement
-
Resolution: Fixed
-
P4
-
21, 23, 24
-
b19
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8342023 | 23.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b03 |
JDK-8342551 | 21.0.6 | Victor Rudometov | P4 | Resolved | Fixed | b01 |
However, this configuration breaks several jtreg test cases that make assumptions about the default options. It seems reasonable that these assumptions be declared in `@require`, but not all of the right properties are avaliable.
In the draft PR https://github.com/openjdk/jdk/pull/21233 I add a jtreg `@require` property to surface the value of `UnlockExperimentalVMOptions` and update two tests that assume the flag is false. This makes these tests resilient to changes to the default state of that flag. (I have one or two similar changes in the works for assumptions about the other flags.)
Before taking that PR out of draft, its worth ensuring alignment on the overall approach. My perspective is that centrally encoding such assumptions into the tests is more robust than maintaining problem lists within each distro that diverges from the defaults.
- backported by
-
JDK-8342023 Tests assume UnlockExperimentalVMOptions is disabled by default
- Resolved
-
JDK-8342551 Tests assume UnlockExperimentalVMOptions is disabled by default
- Resolved
- relates to
-
JDK-8342765 [21u] RTM tests assume UnlockExperimentalVMOptions is disabled by default
- Resolved
- links to
-
Commit(master) openjdk/jdk21u-dev/dd4e0ae0
-
Commit(master) openjdk/jdk23u/ff109acc
-
Commit(master) openjdk/jdk/1bdd79e7
-
Review(master) openjdk/jdk21u-dev/1025
-
Review(master) openjdk/jdk23u/137
-
Review(master) openjdk/jdk/21233