hg: jdk8/tl/jdk: 7068616: NIO libraries do not build with javac -Xlint:all, -deprecation -Werror
Dr Andrew John Hughes
ahughes at redhat.com
Thu Jul 28 23:43:02 UTC 2011
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 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.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
More information about the core-libs-dev
mailing list