I have an application that uses edtFTPj/PRO that works on Windows. When I tried to run it on Fedora FC4 (i.e., using the libgcj and Classpath), I get the following exception:
xjava.security.Parameterized
java.lang.ClassCastException: xjava.security.Parameterized
at com.enterprisedt.net.puretls.TLSPRF.setKey(byte[], java.security.MessageDigest) (Unknown Source)
at com.enterprisedt.net.puretls.TLSPRF.P_hash(byte[], byte[], java.security.MessageDigest, int) (Unknown Source)
at com.enterprisedt.net.puretls.TLSPRF.PRF(byte[], int, byte[], byte[], byte[]) (Unknown Source)
at com.enterprisedt.net.puretls.SSLHandshake.computeMasterSecret() (Unknown Source)
at com.enterprisedt.net.puretls.SSLHandshakeClient.sendClientKeyExchange() (Unknown Source)
at com.enterprisedt.net.puretls.SSLHandshakeClient.handshakeContinue() (Unknown Source)
at com.enterprisedt.net.puretls.SSLHandshake.handshake() (Unknown Source)
at com.enterprisedt.net.puretls.SSLConn.handshake() (Unknown Source)
at com.enterprisedt.net.puretls.SSLSocket.handshake() (Unknown Source)
at com.enterprisedt.net.ftp.ssl.B.G() (Unknown Source)
at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(java.lang.String) (Unknown Source)
[deletia]
at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
However, if I use a Sun JRE, this works fine.
Are there any plans to test edtFTPj/PRO with libgcj?
Andy Neilson