BeanShell 2.0b1.1 - by Pat Niemeyer (email@example.com)
bsh % int i = 0xff000000;
// Error: Parser Error: Parse error at line 1, column 9 : Error or number too big for integer type: 0xff000000
In Java this works (assigned int value is -16777216 in this case). Any yes, this is a feature, and it is used in real-world programs (image manipulation for example). Since Beanshell aims for 100% Java compatibility, it is a bug that this doesn't work in Beanshell, right?