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. ------------- Commit messages: - JDK-8380033 Changes: https://git.openjdk.org/jdk/pull/30241/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30241&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380033 Stats: 18 lines in 1 file changed: 8 ins; 8 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/30241.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30241/head:pull/30241 PR: https://git.openjdk.org/jdk/pull/30241
