-
Bug
-
Resolution: Fixed
-
P3
-
None
-
None
-
b32
-
generic
-
generic
Script:
print(Math.abs(java.lang.Integer.MIN_VALUE))
print(Math.abs(-2147483648))
Expected output:
2147483648
2147483648
Output seen with optimistic types enabled (default mode)
-2147483648
2147483648
Output seen with optimistic types disabled (same as expected output)
$ jjs -ot=false t.js
2147483648
2147483648
print(Math.abs(java.lang.Integer.MIN_VALUE))
print(Math.abs(-2147483648))
Expected output:
2147483648
2147483648
Output seen with optimistic types enabled (default mode)
-2147483648
2147483648
Output seen with optimistic types disabled (same as expected output)
$ jjs -ot=false t.js
2147483648
2147483648