mirror of git://gcc.gnu.org/git/gcc.git
SSLSocket.java (isBound, [...]): Removed old comment.
* gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed, isConnected): Removed old comment. (getRemoteSocketAddress): Uncommented. (setOOBInline, getOOBInline, setKeepAlive, getKeepAlive, setTrafficClass, getTrafficClass, setReuseAddress, getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown, isOutputShutdown): Uncommented. From-SVN: r117035
This commit is contained in:
parent
fd2aa7ad9f
commit
838d497079
|
|
@ -1,3 +1,13 @@
|
||||||
|
2006-09-18 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
|
* gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
|
||||||
|
isConnected): Removed old comment.
|
||||||
|
(getRemoteSocketAddress): Uncommented.
|
||||||
|
(setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
|
||||||
|
setTrafficClass, getTrafficClass, setReuseAddress,
|
||||||
|
getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
|
||||||
|
isOutputShutdown): Uncommented.
|
||||||
|
|
||||||
2006-09-11 David Daney <ddaney@avtrex.com>
|
2006-09-11 David Daney <ddaney@avtrex.com>
|
||||||
|
|
||||||
PR classpath/28580
|
PR classpath/28580
|
||||||
|
|
|
||||||
|
|
@ -845,7 +845,6 @@ final class SSLSocket extends javax.net.ssl.SSLSocket
|
||||||
{
|
{
|
||||||
return super.isBound();
|
return super.isBound();
|
||||||
}
|
}
|
||||||
//throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isClosed()
|
public boolean isClosed()
|
||||||
|
|
@ -858,149 +857,138 @@ final class SSLSocket extends javax.net.ssl.SSLSocket
|
||||||
{
|
{
|
||||||
return super.isClosed();
|
return super.isClosed();
|
||||||
}
|
}
|
||||||
//throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//public SocketAddress getRemoteSocketAddress()
|
public SocketAddress getRemoteSocketAddress()
|
||||||
//{
|
{
|
||||||
// if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// return underlyingSocket.getRemoteSocketAddress();
|
return underlyingSocket.getRemoteSocketAddress();
|
||||||
// }
|
}
|
||||||
// else
|
else
|
||||||
// {
|
{
|
||||||
// return super.getRemoteSocketAddress();
|
return super.getRemoteSocketAddress();
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
|
|
||||||
public void setOOBInline(boolean flag) throws SocketException
|
public void setOOBInline(boolean flag) throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// underlyingSocket.setOOBInline(flag);
|
underlyingSocket.setOOBInline(flag);
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// super.setOOBInline(flag);
|
super.setOOBInline(flag);
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getOOBInline() throws SocketException
|
public boolean getOOBInline() throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// return underlyingSocket.getOOBInline();
|
return underlyingSocket.getOOBInline();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// return super.getOOBInline();
|
return super.getOOBInline();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setKeepAlive(boolean flag) throws SocketException
|
public void setKeepAlive(boolean flag) throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// underlyingSocket.setKeepAlive(flag);
|
underlyingSocket.setKeepAlive(flag);
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// super.setKeepAlive(flag);
|
super.setKeepAlive(flag);
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getKeepAlive() throws SocketException
|
public boolean getKeepAlive() throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// return underlyingSocket.getKeepAlive();
|
return underlyingSocket.getKeepAlive();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// return super.getKeepAlive();
|
return super.getKeepAlive();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTrafficClass(int clazz) throws SocketException
|
public void setTrafficClass(int clazz) throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// underlyingSocket.setTrafficClass(clazz);
|
underlyingSocket.setTrafficClass(clazz);
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// super.setTrafficClass(clazz);
|
super.setTrafficClass(clazz);
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getTrafficClass() throws SocketException
|
public int getTrafficClass() throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// return underlyingSocket.getTrafficClass();
|
return underlyingSocket.getTrafficClass();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// return super.getTrafficClass();
|
return super.getTrafficClass();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setReuseAddress(boolean flag) throws SocketException
|
public void setReuseAddress(boolean flag) throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// underlyingSocket.setReuseAddress(flag);
|
underlyingSocket.setReuseAddress(flag);
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// super.setReuseAddress(flag);
|
super.setReuseAddress(flag);
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getReuseAddress() throws SocketException
|
public boolean getReuseAddress() throws SocketException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// return underlyingSocket.getReuseAddress();
|
return underlyingSocket.getReuseAddress();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// return super.getReuseAddress();
|
return super.getReuseAddress();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void shutdownInput() throws IOException
|
public void shutdownInput() throws IOException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// underlyingSocket.shutdownInput();
|
underlyingSocket.shutdownInput();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// super.shutdownInput();
|
super.shutdownInput();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void shutdownOutput() throws IOException
|
public void shutdownOutput() throws IOException
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// underlyingSocket.shutdownOutput();
|
underlyingSocket.shutdownOutput();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// super.shutdownOutput();
|
super.shutdownOutput();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isConnected()
|
public boolean isConnected()
|
||||||
|
|
@ -1013,33 +1001,30 @@ final class SSLSocket extends javax.net.ssl.SSLSocket
|
||||||
{
|
{
|
||||||
return super.isConnected();
|
return super.isConnected();
|
||||||
}
|
}
|
||||||
//throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isInputShutdown()
|
public boolean isInputShutdown()
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// return underlyingSocket.isInputShutdown();
|
return underlyingSocket.isInputShutdown();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// return super.isInputShutdown();
|
return super.isInputShutdown();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOutputShutdown()
|
public boolean isOutputShutdown()
|
||||||
{
|
{
|
||||||
//if (underlyingSocket != null)
|
if (underlyingSocket != null)
|
||||||
// {
|
{
|
||||||
// return underlyingSocket.isOutputShutdown();
|
return underlyingSocket.isOutputShutdown();
|
||||||
// }
|
}
|
||||||
//else
|
else
|
||||||
// {
|
{
|
||||||
// return super.isOutputShutdown();
|
return super.isOutputShutdown();
|
||||||
// }
|
}
|
||||||
throw new UnsupportedOperationException("1.4 methods not enabled");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void finalize()
|
protected void finalize()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue