JDK-8066644 : Fix deprecation warnings in jdk.zipfs module
Type:Sub-task
Component:core-libs
Sub-Component:java.nio
Affected Version:9
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2014-12-03
Updated:2017-10-06
Resolved:2015-10-28
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.
This bug is not a duplicate of JDK-8066643. In JDK-8066643, the warnings were just suppressed; this bug calls for the warnings to actually be fixed, which is this case would mean not using the deprecated methods on Date. Per the guidance given in JDK-8066618, if suppressing the warnings is the final long-term solution here, please close this issue as will-not-fix.
28-05-2015
dup of jdk-8066643
28-05-2015
As of time of writing, deprecation warnings in jdk.zipfs:
dev/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipUtils.java:107: warning: [deprecation] Date(int,int,int,int,int,int) in Date has been deprecated
dev/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipUtils.java:121: warning: [deprecation] getYear() in Date has been deprecated
dev/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipUtils.java:125: warning: [deprecation] getMonth() in Date has been deprecated
dev/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipUtils.java:126: warning: [deprecation] getDate() in Date has been deprecated
dev/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipUtils.java:126: warning: [deprecation] getHours() in Date has been deprecated
dev/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipUtils.java:126: warning: [deprecation] getMinutes() in Date has been deprecated
dev/jdk/src/jdk.zipfs/share/classes/jdk/nio/zipfs/ZipUtils.java:127: warning: [deprecation] getSeconds() in Date has been deprecated