SSL support broken on JDK 1.6 #8

Closed
WoozyG opened this Issue Sep 13, 2012 · 0 comments

Projects

None yet

2 participants

WoozyG commented Sep 13, 2012

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.

@krummas krummas added a commit that referenced this issue Sep 14, 2012
@krummas krummas fix issue #8 - ssl support broken, could not close connection, also m…
…akes sure we can connect with a DB, this was checked after sending the packet in the SSL case
da68e32
@krummas krummas closed this Sep 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment