bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/31302] New: Exception in SSLSocketImpl


From: overholt at redhat dot com
Subject: [Bug classpath/31302] New: Exception in SSLSocketImpl
Date: 21 Mar 2007 21:10:15 -0000

The test case I will attach gives the following with gij (GNU libgcj) version
4.1.2 20070317 (Red Hat 4.1.2-5):

ecj -cp /usr/share/java/commons-httpclient-3.0.1.jar TestSSL.java

[blingbling:sslbug]$ gij -cp .:/usr/share/java/commons-httpclient-3.0.1.jar
TestSSL
Exception in thread "main" java.lang.UnsupportedOperationException: use
javax.net.ssl.SSLEngine for NIO
   at gnu.javax.net.ssl.provider.SSLSocketImpl.getChannel(libgcj.so.8rh)
   at java.net.Socket.isClosed(libgcj.so.8rh)
   at gnu.javax.net.ssl.provider.SSLSocketImpl.isClosed(libgcj.so.8rh)
   at java.net.Socket.connect(libgcj.so.8rh)
   at gnu.javax.net.ssl.provider.SSLSocketImpl.connect(libgcj.so.8rh)
   at java.net.Socket.connect(libgcj.so.8rh)
   at gnu.javax.net.ssl.provider.SSLSocketImpl.connect(libgcj.so.8rh)
   at
gnu.javax.net.ssl.provider.SSLSocketFactoryImpl.createSocket(libgcj.so.8rh)
   at
gnu.javax.net.ssl.provider.SSLSocketFactoryImpl.createSocket(libgcj.so.8rh)
   at SslProtocolSocketFactory.createSocket(TestSSL.java:58)
   at TestSSL.main(TestSSL.java:24)

With the Sun VM, I get no output:

[blingbling:sslbug]$ ~/tmp/jdk1.6.0/bin/java -cp .:commons-httpclient-3.0.1.jar
TestSSL
[blingbling:sslbug]$

This affects Mylar, an Eclipse plugin in Fedora.


-- 
           Summary: Exception in SSLSocketImpl
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: overholt at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31302





reply via email to

[Prev in Thread] Current Thread [Next in Thread]