On Mon, 12 Oct 2026 13:26:26 GMT, Tobias Hartmann <[email protected]> wrote:
>> Some tests fail after >> [JDK-8393182](https://bugs.openjdk.org/browse/JDK-8393182) in internal >> stress jobs due to unexpected flags. Let's fix them. Comments in-line. >> >> Thanks, >> Tobias >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > test/jdk/valhalla/valuetypes/NullRestrictedTest.java line 31: > >> 29: * @enablePreview >> 30: * @requires (vm.opt.PreloadClasses == null | vm.opt.PreloadClasses == >> "true") >> 31: * @run junit/othervm NullRestrictedTest > > Test needs preloading for `@NullRestricted` annotation to take effect. And no, we don't have an `@requires` alternative that would cover this. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/33320#discussion_r4248561271
