-
Bug
-
Resolution: Fixed
-
P4
-
23
-
b23
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8343967 | 21.0.7-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8346634 | 21.0.7 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8343966 | 17.0.15-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8346639 | 17.0.15 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8343969 | 11.0.27-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java
could fail with the following exception:
test PreserveRawManifestEntryAndDigest.testNameImmediatelyContinued(): failure
java.lang.AssertionError: "s k 300 Tue Jun 25 10:20:16 GMT+07:00 2024 META-INF/MANIFEST.MF" should have matched "s k *\\d+ .{28,29} META-INF/MANIFEST[.]MF" expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertTrue(Assert.java:45)
at PreserveRawManifestEntryAndDigest.assertMatchByLines(PreserveRawManifestEntryAndDigest.java:268)
The reason is that the regex expects a certain timestamp length {28,29}, and it works fine for certain timezones such as PST or CEST, but it fails if the timezone string is longer such as 'GMT+07:00'.
- backported by
-
JDK-8343966 test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
-
- Resolved
-
-
JDK-8343967 test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
-
- Resolved
-
-
JDK-8343969 test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
-
- Resolved
-
-
JDK-8346634 test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
-
- Resolved
-
-
JDK-8346639 test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk17u-dev/33ff5192
-
Commit(master) openjdk/jdk21u-dev/9f06e332
-
Commit(master) openjdk/jdk/7e87c071
-
Review(master) openjdk/jdk17u-dev/3141
-
Review(master) openjdk/jdk21u-dev/1261
-
Review(master) openjdk/jdk/21280