[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jessie-discuss] 1.4 support? ("1.4 not enabled")
From: |
Martin Egholm Nielsen |
Subject: |
[Jessie-discuss] 1.4 support? ("1.4 not enabled") |
Date: |
Mon, 18 Apr 2005 16:25:36 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050319 |
Hi there,
I'm trying to use Jessie as a replacement for Sun's implementation.
However, I reach a point where Sun's "java.net.Socket" invokes a method
on Jessie's SSLSocket that is not supported (#isInputShutdown):
Exception in thread "main" java.lang.UnsupportedOperationException: 1.4
methods not enabled
at
org.metastatic.jessie.provider.SSLSocket.isInputShutdown(SSLSocket.java)
at java.net.Socket.getInputStream(Socket.java:701)
at
org.metastatic.jessie.provider.SSLSocket.setupIO(SSLSocket.java:1170)
at
org.metastatic.jessie.provider.SSLSocket.getOutputStream(SSLSocket.java:591)
at test.Test1.main(Test1.java:73)
If I scan the source for Jessie's SSLSocket, I however see that there is
some commented code in #isInputShutdown:
public boolean isInputShutdown()
{
//if (underlyingSocket != null)
// {
// return underlyingSocket.isInputShutdown();
// }
//else
// {
// return super.isInputShutdown();
// }
throw new UnsupportedOperationException("1.4 methods not enabled");
}
that looks somewhat ok to me :-)
So, my question: Should one avoid using Jessie with Suns Java 1.4, and
do you know whether the new GCJ 4.0 has been "designed" to avoid these
1.4 methods?
BR,
Martin Egholm
- [Jessie-discuss] 1.4 support? ("1.4 not enabled"),
Martin Egholm Nielsen <=