Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

shutdownOutput() for SSLSockets

843811Aug 4 2002 — edited Aug 19 2002
Finally, I've found the right forum...

Hi,
I've been trying to move an application to jdk1.4, but I get this exception:

java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.shutdownOutput(DashoA6275)

With the jsse jars in jdk1.3, the same method worked just fine, so, where am I wrong?
Or, would I achieve the same effect by simply flushing the SocketOutputStream then closing the socket?

Thanks in advance,
Bogdan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2002
Added on Aug 4 2002
3 comments
353 views