Hi All, I have a simple SSLServerSocket that is listening for connections on port 2000. When I connect to the socket through my browser (http:// localhost:9999) after using telnet (telnet localhost 5554) to redir (redir add tcp:9999:2000) I receive a ClassCastException (org.apache.harmony.luni.net.SocketInputStream). When stepping through the debugger in Eclipse, I arrive at what appears to be the culprit (I can only assume as I don't have the Android source). An OpenSSLSocketImpl accept method is called which returns an InputStream.
// Method descriptor #242 (IZ)V // Stack: 5, Locals: 4 protected void accept(int m_ctx, boolean client_mode) throws java.io.IOException; 0 aload_0 [this] 1 invokespecial javax.net.ssl.SSLSocket.getInputStream() : java.io.InputStream [69] 4 checkcast java.io.FileInputStream [70] The subsequent line of code (from what information Eclipse provides) is some sort of checkcast FileInputStream. I assume that somewhere down the line the returned InputStream is not of type FileInputStream or it should not be looking for a FileInputStream? Does anyone have any idea what I am talking about, have a solution, have a working SSLServerSocket connection, even care? Regards, Spoon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

