Affects Version/s: None
Fix Version/s: 6.0
There are some checks for the max value that will fit in a short.
These are of the form:
This seems wrong, as Short.MAX_VALUE = 32767, so the check should be
There's a further problem, which is that Short.MIN_VALUE = -32768.
This will be disallowed, unless the condition is written as:
This is how the ctor generic.PUSH.PUSH(ConstantPoolGen cp, int value) does the check.