Skip to content

Commit acd4da4

Browse files
author
Hai-May Chao
committed
8353299: VerifyJarEntryName.java test fails
Reviewed-by: mullan
1 parent 5eee32d commit acd4da4

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/jdk/sun/security/tools/jarsigner/VerifyJarEntryName.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)