JDK-6726309 : Compiler warnings in nio code
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-07-16
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
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.

To download the current JDK release, click here.
JDK 7
7 b33Fixed
Description
The following need to be updated to eliminate build warnings:

M src/share/classes/java/nio/channels/spi/AbstractSelector.java
M src/share/classes/java/nio/charset/Charset-X-Coder.java
M src/share/classes/java/nio/charset/Charset.java
M src/share/classes/java/nio/charset/CoderResult.java
M src/share/classes/sun/nio/ch/SelectorImpl.java
M src/share/classes/sun/nio/ch/Util.java
M src/share/native/java/nio/Bits.c
M src/solaris/classes/sun/nio/ch/DevPollSelectorImpl.java
M src/solaris/classes/sun/nio/ch/EPollSelectorImpl.java
M src/solaris/native/sun/nio/ch/DatagramChannelImpl.c
M src/solaris/native/sun/nio/ch/InheritedChannel.c
M src/solaris/native/sun/nio/ch/Net.c
M src/solaris/native/sun/nio/ch/ServerSocketChannelImpl.c
M src/solaris/native/sun/nio/ch/SocketChannelImpl.c
M src/windows/classes/sun/nio/ch/PipeImpl.java
M src/windows/classes/sun/nio/ch/WindowsSelectorImpl.java

Comments
EVALUATION Annoying and easily fixed
2008-07-22

SUGGESTED FIX http://rain.ireland/~ab23780/6726309/webrev/
2008-07-16