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; )
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Just tested this in BeanShell2 fork at http://code.google.com/p/beanshell2 - works like a charm.
Dowonload it at http://beanshell2.googlecode.com/files/bsh-2.1b0.jar.
Ticket has been migrated to github.
Please follow up on this over here: https://github.com/beanshell/beanshell/issues/471