File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
test/jdk/sun/security/tools/jarsigner Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -95,22 +95,6 @@ void verifyManifestEntryName() throws Exception {
9595 .shouldHaveExitValue (0 );
9696 }
9797
98- /*
99- * Modify a single byte in signature filename in LOC, and
100- * validate that jarsigner -verify emits a warning message.
101- */
102- @ Test
103- void verifySignatureEntryName () throws Exception {
104- modifyJarEntryName (ORIGINAL_JAR , MODIFIED_JAR , "MYKEY.SF" );
105- SecurityTools .jarsigner ("-verify -verbose " + MODIFIED_JAR )
106- .shouldContain ("This JAR file contains internal " +
107- "inconsistencies that may result in different " +
108- "contents when reading via JarFile and JarInputStream:" )
109- .shouldContain ("- Entry XETA-INF/MYKEY.SF is present when reading " +
110- "via JarInputStream but missing when reading via JarFile" )
111- .shouldHaveExitValue (0 );
112- }
113-
11498 /*
11599 * Validate that jarsigner -verify on a valid JAR works without
116100 * emitting warnings about internal inconsistencies.
You can’t perform that action at this time.
0 commit comments