JDK-6480504 : java.util.jar.JarOutputStream incorrectly sets 'extra' field
Type:Bug
Component:core-libs
Sub-Component:java.util.jar
Affected Version:6
Priority:P3
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2006-10-11
Updated:2011-03-07
Resolved:2011-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
java.util.jar.JarOutputStream.putNextEntry has the order of arguments reversed in arraycopying the extra field. If a JarEntry has client-provided extra data, it will be lost.