xiaomingchen / jwebsocket

Automatically exported from code.google.com/p/jwebsocket
1 stars 0 forks source link

class java.net.HttpCookie not found with Android 2.2 #188

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create Android 2.2 app
2. simply use based on JWebSocket demos 
btc.open("ws://127.0.0.1:8787/jWebSocket/jWebSocket")
3. this can be found in LogCat:
07-28 15:44:14.668: E/dalvikvm(288): Could not find class 
'java.net.HttpCookie', referenced from method 
org.jwebsocket.kit.WebSocketHandshake.generateC2SRequest

What is the expected output? What do you see instead?
No exeption is expected.
As I could see on the net this is a Froyo (Android 2.2) issue (refer to: 
http://enapso.org/jwsForum219/posts/list/15659.page
Is this true? If yes, will you modify jwebsocket to support the Android 2.2?
It would be nice to inform in advance the Android supported versions by 
jwebsocket.

What version of the product are you using? On what operating system?
Win xp/jWebSocket-1.0/jWebSocketClient-1.0

Please provide any additional information below.

Original issue reported on code.google.com by gabor.fo...@gmail.com on 28 Jul 2012 at 3:58