int i = -10;
String s = Integer.toHexString(i);
Window.alert(s); //you will not see this message
Any ideas?
Integer.toHexString(int) simply calls Long.toHexString(long);
FireFox proposes to stop script execution. IE stops responding at all.
All works fine when I use toHexString() method implementation from Java
Sun JDK.