Long is an emulated type in GWT (to be compatible with longs in java.

If you are returning a long from JSNI you could use double instead

-jason
On Mar 3, 2009, at 2:44 PM, frankCostello wrote:

>
> Hi, I try to use  Sockets.jar, but when I compile, give me an error:
>
> [ERROR] Line 653: Type 'long' may not be returned from a JSNI method
>      For additional info see: file:/Users/smartsr/Downloads/gwt-
> mac-1.5.3/doc/helpInfo/longJsniRestriction.html
>      [ERROR] Line 714: Parameter 'value': type 'long' is not safe to
> access in JSNI code
>
>
> How do I do?
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to