On Fri, 13 Mar 2026 14:48:47 GMT, Christoph Langer <[email protected]> wrote:
> If a downstream OpenJDK build uses a different default setting for security > property "jdk.includeInExceptions" with regards to jar files, the test > java/util/jar/Manifest/IncludeInExceptionsTest.java will fail. > > However, since the test's purpose is not to check the default value but > rather the functionality, it could be made agnostic to the default. > > The test now has 3 iterations, one with "-Djdk.includeInExceptions=jar", one > with "-Djdk.includeInExceptions=" (empty) and one without > "jdk.includeInExceptions" set, which will be the default value of the JDK > distribution. okay I see , it is because the others are import static and those are separate. Makes sense! import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.fail; ------------- PR Comment: https://git.openjdk.org/jdk/pull/30241#issuecomment-4073824883
