[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/31302] Exception in SSLSocketImpl
From: |
csm at gnu dot org |
Subject: |
[Bug classpath/31302] Exception in SSLSocketImpl |
Date: |
22 Mar 2007 00:25:23 -0000 |
------- Comment #2 from csm at gnu dot org 2007-03-22 00:25 -------
Yeah, I see how this could be a problem. We don't want to give the caller the
SocketChannel associated with an SSLSocket, but java.net.Socket needs to get
the underlying channel (if there is one) to access information like this.
I can think of only one way to fix this, without drastically changing
java.net.Socket: in SSLSocketImpl, getChannel returns a SocketChannel subclass
that wraps the real SocketChannel, but whose IO methods (read/write) throw
exceptions. That way Socket will get a SocketChannel it can use to call isOpen
et al on, while still forbidding IO on that channel.
--
csm at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-22 00:25:23
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31302
- [Bug classpath/31302] New: Exception in SSLSocketImpl, overholt at redhat dot com, 2007/03/21
- [Bug classpath/31302] Exception in SSLSocketImpl, overholt at redhat dot com, 2007/03/21
- [Bug classpath/31302] Exception in SSLSocketImpl,
csm at gnu dot org <=
- [Bug classpath/31302] Exception in SSLSocketImpl, csm at gnu dot org, 2007/03/21
- [Bug classpath/31302] Exception in SSLSocketImpl, csm at gnu dot org, 2007/03/23
- [Bug classpath/31302] Exception in SSLSocketImpl, tromey at gcc dot gnu dot org, 2007/03/27
- [Bug classpath/31302] Exception in SSLSocketImpl, tromey at gcc dot gnu dot org, 2007/03/27
- [Bug classpath/31302] Exception in SSLSocketImpl, tromey at gcc dot gnu dot org, 2007/03/27