On Tue, 27 Jan 2026 10:01:19 GMT, Daniel Fuchs <[email protected]> wrote:
>> Have you tried to uncondiotionnaly throw an exception here to see how it >> shows up in the test log? IIRC throwing in static initializer in test >> classes didn't give very user friendly diagnosis. But I have never seen how >> it looked like with junit :-) > > Just to see if doing this during class initialization is OK - or if we should > rather move that to a method annotated with `@BeforeAll`. > why not `UncheckedIOException`? Because one less `import` line. > Have you tried to uncondiotionnaly throw an exception here to see how it > shows up in the test log? IIRC throwing in static initializer in test classes > didn't give very user friendly diagnosis. Verified that it is all good on JTreg+JUnit output. > alternatively a simple for loop Done in fc639467db1. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29431#discussion_r2732335223
