public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/34313] New: SSLEngine for NIO - socket connection not working
@ 2007-12-02 2:23 syedahmed1 at sbcglobal dot net
2007-12-17 23:27 ` [Bug libgcj/34313] " csm at gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: syedahmed1 at sbcglobal dot net @ 2007-12-02 2:23 UTC (permalink / raw)
To: gcc-bugs
Getting the following exception with the gcj4.3.0
The code is not using any nio - but Jessie is and due to which I am getting
this exception. The same code does work with openjdk.
error pre-initialising SSL for JNDI connection: javax.naming.NamingException:
error pre-initialising SSL for JNDI connection:
java.lang.UnsupportedOperationException: use javax.net.ssl.SSLEngine for NIO
caused by java.lang.UnsupportedOperationException: use javax.net.ssl.SSLEngine
for NIO
javax.naming.NamingException: error pre-initialising SSL for JNDI connection:
javax.naming.NamingException: error pre-initialising SSL for JNDI connection:
java.lang.UnsupportedOperationException: use javax.net.ssl.SSLEngine for NIO
caused by java.lang.UnsupportedOperationException: use javax.net.ssl.SSLEngine
for NIO caused by javax.naming.NamingException: error pre-initialising SSL for
JNDI connection: java.lang.UnsupportedOperationException: use
javax.net.ssl.SSLEngine for NIO caused by
java.lang.UnsupportedOperationException: use javax.net.ssl.SSLEngine for NIO
--
Summary: SSLEngine for NIO - socket connection not working
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: syedahmed1 at sbcglobal dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34313
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug libgcj/34313] SSLEngine for NIO - socket connection not working
2007-12-02 2:23 [Bug java/34313] New: SSLEngine for NIO - socket connection not working syedahmed1 at sbcglobal dot net
@ 2007-12-17 23:27 ` csm at gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: csm at gnu dot org @ 2007-12-17 23:27 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-17 23:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-02 2:23 [Bug java/34313] New: SSLEngine for NIO - socket connection not working syedahmed1 at sbcglobal dot net
2007-12-17 23:27 ` [Bug libgcj/34313] " csm at gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).