JDK-7143230 : fix warnings in java.util.jar, sun.tools.jar, zipfs demo, etc.
Type:Bug
Component:core-libs
Sub-Component:java.util.jar
Affected Version:8
Priority:P5
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2012-02-06
Updated:2017-09-05
Resolved:2012-06-15
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.
A variety of classes in java.util.jar, sun.tools.jar, the zipfs demo, and the MemoryMonitor demo have compiler warnings. This bug covers fixing of these warnings.
A patch has been contributed for this by the London Java Community (LJC).
Comments
EVALUATION
The email thread covering this work is here:
http://mail.openjdk.java.net/pipermail/jdk8-dev/2012-February/000706.html
The patch is here:
http://mail.openjdk.java.net/pipermail/jdk8-dev/2012-February/000747.html
The following files are changed by this patch:
src/share/classes/java/util/jar/Attributes.java
src/share/classes/java/util/jar/JarVerifier.java
src/share/classes/sun/tools/jar/CommandLine.java
src/share/classes/sun/tools/jar/Manifest.java
src/share/classes/sun/tools/jar/SignatureFile.java
src/share/demo/management/MemoryMonitor/MemoryMonitor.java
src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileStore.java
src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystem.java
src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipFileSystemProvider.java
src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/ZipInfo.java