This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/34313] SSLEngine for NIO - socket connection not working
- From: "csm at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2007 23:27:47 -0000
- Subject: [Bug libgcj/34313] SSLEngine for NIO - socket connection not working
- References: <bug-34313-15465@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from csm at gnu dot org 2007-12-17 23:27 -------
Jessie is not using NIO. At least, it shouldn't be. Something is calling
'getChannel' on an SSLSocket, which doesn't make sense (you cannot use SSL that
way).
The JDK returns 'null' if you call getChannel on an SSLSocket, but Jessie
throws that exception. The fix is to change the method
gnu.javax.net.ssl.provider.SSLSocketImpl.getChannel to return 'null' instead of
throwing that exception.
--
csm at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |csm at gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-12-17 23:27:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34313