hg: jdk8/tl/jdk: 7068616: NIO libraries do not build with javac -Xlint:all, -deprecation -Werror

Alexandre Boulgakov alexandre.boulgakov at oracle.com
Thu Jul 28 23:47:06 UTC 2011


On 7/28/2011 4:43 PM, Dr Andrew John Hughes wrote:
> On 21:44 Thu 28 Jul     , jonathan.gibbons at oracle.com wrote:
>> Changeset: 7525866a4046
>> Author:    jjg
>> Date:      2011-07-28 13:34 -0700
>> URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/7525866a4046
>>
>> 7068616: NIO libraries do not build with javac -Xlint:all,-deprecation -Werror
>> Reviewed-by: alanb, chegar
>> Contributed-by: alexandre.boulgakov at oracle.com
>>
>> ! make/com/sun/nio/Makefile
>> ! make/com/sun/nio/sctp/Makefile
>> ! make/java/nio/Makefile
>> ! make/java/sun_nio/Makefile
>> ! make/sun/nio/Makefile
>> ! make/sun/nio/cs/Makefile
>> ! src/share/classes/java/nio/X-Buffer.java.template
>> ! src/share/classes/java/nio/channels/AsynchronousFileChannel.java
>> ! src/share/classes/java/nio/channels/FileChannel.java
>> ! src/share/classes/java/nio/charset/Charset.java
>> ! src/share/classes/sun/nio/ch/DatagramSocketAdaptor.java
>> ! src/share/classes/sun/nio/ch/Reflect.java
>> ! src/share/classes/sun/nio/ch/SelectorImpl.java
>> ! src/share/classes/sun/nio/ch/Util.java
>> ! src/share/classes/sun/nio/cs/FastCharsetProvider.java
>> ! src/share/classes/sun/nio/cs/StreamDecoder.java
>> ! src/share/classes/sun/nio/cs/ThreadLocalCoders.java
>> ! src/share/classes/sun/nio/fs/Util.java
>> ! src/solaris/classes/sun/nio/ch/SctpChannelImpl.java
>> ! src/solaris/classes/sun/nio/ch/SctpMultiChannelImpl.java
>> ! src/solaris/classes/sun/nio/ch/SctpNet.java
>> ! src/solaris/classes/sun/nio/ch/SctpServerChannelImpl.java
>> ! src/windows/classes/sun/nio/ch/PendingIoCache.java
>> ! src/windows/classes/sun/nio/ch/WindowsAsynchronousFileChannelImpl.java
>> ! src/windows/classes/sun/nio/ch/WindowsAsynchronousSocketChannelImpl.java
>>
> Is there some (very welcome) focus on fixing these errors at the moment?
> If so, is this across this board or just the jdk tree (or even parts of the jdk
> tree)?
I'm working on removing javac warnings throughout the security, 
networking, and core libraries for a summer internship.

-Sasha
>
> I fixed a few a while back during the OpenJDK7 cycle, though only
> enough to get it to build with -Werror enabled (and not -Xlint).
> Sadly, it's still such a slow process to get patches in that I haven't
> done more on this.



More information about the core-libs-dev mailing list