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
But be careful that if you do, you're code will not work past 1.5. In 1.6,
longs are real longs except emulated an object. The question you need to
ask yourself is do you really need a long? If you don't, then just use int.
If you do, then you'll need a code path for 1.5 which treats it as a
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':