-
Bug
-
Resolution: Fixed
-
P3
-
6u10, 6u20, 6u21
-
b04
-
b05
-
x86
-
linux, linux_ubuntu, windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2192619 | 7 | Weijun Wang | P3 | Closed | Fixed | b94 |
JDK-2193257 | OpenJDK6 | Weijun Wang | P3 | Resolved | Fixed | b20 |
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux smlwx010 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
Ubuntu provided SUN JDK packages
A DESCRIPTION OF THE PROBLEM :
Signing a jar file with MANIFEST.MF not as first entry or containing INDEX.LIST without the manifest in there causes all manifest information to be lost after siging. This was not the case in java 1.6.0_16
I have found similar issues but none describe this regression.
This issue causes some of our legacy OSGi-compatible jars to be broken after signing.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create a jar file using a zip tool and cause the META-INF/MANIFEST.MF not to be the first file.
Sign it
Compare initial MANIFEST.MF with signed MANIFEST.MF
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no difference (except for signing info)
ACTUAL -
Only signing info in signed manifest, all initial info lost
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
reassemble the incorrectly packaged jar
- backported by
-
JDK-2193257 Jarsigner removes MANIFEST.MF info for badly packages jar's
-
- Resolved
-
-
JDK-2192619 Jarsigner removes MANIFEST.MF info for badly packages jar's
-
- Closed
-
- duplicates
-
JDK-6958622 Regression: Signing pack200-reordered Jar files strips existing MANIFEST.MF
-
- Closed
-
-
JDK-6961984 jarsigner fails to sign jar file since JDK1.6u20, it works with JDK1.6u14
-
- Closed
-
-
JDK-6989172 jarsigner delete the information from "MAINFEST.MF" file
-
- Closed
-
- relates to
-
JDK-6543940 Exception thrown when signing a jarfile in java 1.5
-
- Resolved
-
-
JDK-6954621 small error in 6948909 fix
-
- Resolved
-
-
JDK-2193685 small error in 6948909 fix
-
- Resolved
-