Running the Oracle JDK 1.6.0, MySQLProtocol.close() gets an unhandled UnspportedOperationException when trying to call socket.shutdownInput() when socket is an SSLSocket. This is per the SSL/TLS spec, and can be seen in the OpenJDK source.
Looks like this may have changed since previous JDK versions? The current close() code looks like it is supposed to handle this case, but only by catching the checked exception, not this runtime one.
Running the Oracle JDK 1.6.0,
MySQLProtocol.close()
gets an unhandledUnspportedOperationException
when trying to callsocket.shutdownInput()
whensocket
is anSSLSocket
. This is per the SSL/TLS spec, and can be seen in the OpenJDK source.Looks like this may have changed since previous JDK versions? The current
close()
code looks like it is supposed to handle this case, but only by catching the checked exception, not this runtime one.