changeset 59:328415dfe347

6615656: Removed unimplemented java.net methods Reviewed-by: jccollet
author chegar
date Fri, 07 Mar 2008 11:30:32 +0000
parents a100f699c155
children 10d5be3e1fa8
files src/share/classes/java/net/AbstractPlainSocketImpl.java src/share/classes/java/net/NetworkInterface.java src/solaris/classes/java/net/PlainSocketImpl.java src/windows/classes/java/net/DualStackPlainSocketImpl.java src/windows/classes/java/net/TwoStacksPlainSocketImpl.java
diffstat 5 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/net/AbstractPlainSocketImpl.java	Fri Mar 07 09:57:22 2008 +0000
+++ b/src/share/classes/java/net/AbstractPlainSocketImpl.java	Fri Mar 07 11:30:32 2008 +0000
@@ -664,7 +664,6 @@
     abstract void socketSetOption(int cmd, boolean on, Object value)
         throws SocketException;
     abstract int socketGetOption(int opt, Object iaContainerObj) throws SocketException;
-    abstract int socketGetOption1(int opt, Object iaContainerObj, FileDescriptor fd) throws SocketException;
     abstract void socketSendUrgentData(int data)
         throws IOException;
 
--- a/src/share/classes/java/net/NetworkInterface.java	Fri Mar 07 09:57:22 2008 +0000
+++ b/src/share/classes/java/net/NetworkInterface.java	Fri Mar 07 11:30:32 2008 +0000
@@ -425,8 +425,6 @@
         return virtual;
     }
 
-    private native static long getSubnet0(String name, int ind) throws SocketException;
-    private native static Inet4Address getBroadcast0(String name, int ind) throws SocketException;
     private native static boolean isUp0(String name, int ind) throws SocketException;
     private native static boolean isLoopback0(String name, int ind) throws SocketException;
     private native static boolean supportsMulticast0(String name, int ind) throws SocketException;
--- a/src/solaris/classes/java/net/PlainSocketImpl.java	Fri Mar 07 09:57:22 2008 +0000
+++ b/src/solaris/classes/java/net/PlainSocketImpl.java	Fri Mar 07 11:30:32 2008 +0000
@@ -76,9 +76,6 @@
 
     native int socketGetOption(int opt, Object iaContainerObj) throws SocketException;
 
-    native int socketGetOption1(int opt, Object iaContainerObj, FileDescriptor fd)
-        throws SocketException;
-
     native void socketSendUrgentData(int data) throws IOException;
 
 }
--- a/src/windows/classes/java/net/DualStackPlainSocketImpl.java	Fri Mar 07 09:57:22 2008 +0000
+++ b/src/windows/classes/java/net/DualStackPlainSocketImpl.java	Fri Mar 07 11:30:32 2008 +0000
@@ -218,9 +218,6 @@
         return value;
     }
 
-    int socketGetOption1(int opt, Object iaContainerObj, FileDescriptor fd)
-        throws SocketException {return 0;}   // un-implemented REMOVE
-
     void socketSendUrgentData(int data) throws IOException {
         int nativefd = checkAndReturnNativeFD();
         sendOOB(nativefd, data);
--- a/src/windows/classes/java/net/TwoStacksPlainSocketImpl.java	Fri Mar 07 09:57:22 2008 +0000
+++ b/src/windows/classes/java/net/TwoStacksPlainSocketImpl.java	Fri Mar 07 11:30:32 2008 +0000
@@ -199,8 +199,5 @@
 
     native int socketGetOption(int opt, Object iaContainerObj) throws SocketException;
 
-    native int socketGetOption1(int opt, Object iaContainerObj, FileDescriptor fd)
-        throws SocketException;
-
     native void socketSendUrgentData(int data) throws IOException;
 }