diff options
author | jfrijters <jfrijters> | 2011-07-12 09:56:22 +0400 |
---|---|---|
committer | jfrijters <jfrijters> | 2011-07-12 09:56:22 +0400 |
commit | a97a2b83777343e030b1b474097d1a441e10c3f8 (patch) | |
tree | 11753f9a8b60972deec6c21452c66f86f7c190e3 /openjdk/sun/nio/ch/Net.java | |
parent | 5445655f7e50f25acba6042bf02505ba9fcd57b3 (diff) |
We don't yet have a nio IPv6 implementation, so we should return false and there is no need to print a stack trace.
Diffstat (limited to 'openjdk/sun/nio/ch/Net.java')
-rw-r--r-- | openjdk/sun/nio/ch/Net.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openjdk/sun/nio/ch/Net.java b/openjdk/sun/nio/ch/Net.java index 0b0ef558..9022d05e 100644 --- a/openjdk/sun/nio/ch/Net.java +++ b/openjdk/sun/nio/ch/Net.java @@ -63,8 +63,7 @@ class Net { // package-private * Tells whether dual-IPv4/IPv6 sockets should be used. */ static boolean isIPv6Available() { - new NotYetImplementedError().printStackTrace(); //TODO JDK7 - return true; + return false; } static FileDescriptor serverSocket(boolean stream) throws IOException |