Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#333 Parsing of long hex literals fails

open
nobody
None
5
2010-02-03
2010-02-03
jlewis42
No

Beanshell 2.0b4 cannot parse long hexadecimal literals.

Ex:
long foo = 0x0000000001L;
yields the error
inline evaluation of: ``long foo = 0x0000000001L;'' unknown error: For input string: "0x0000000001"

however decimal long literals work (eg: long foo = 1234556789L; )

Discussion