#232 Parse error for int with highest order bit set

open
nobody
None
5
2005-07-17
2005-07-17
Anonymous
No

bsh % print(0x80000000);
// Error: Parser Error: Parse error at line 1, column
589 : Error or number too big for integer type: 0x80000000

BeanShell incorrectly rejects hex representation of an
int with the high-order bit set.

submitted by Andy Putnins, putnins@lett.com

Discussion