Community
Participate
Working Groups
In the following code int a = 100; c = a instanceof Object; eclipse does not mark any error or something and produces a class file. The code is not runnable and produces a VerifierError because "a" is not an Object. I used Build id: I20060413-1718 for this test
Issue only arises in 1.5 mode, likely a consequence of autoboxing support.
Added Autoboxing#test120. Fixed InstanceOfExpression to disallow base type scenario. Fixed
Verified with I20060427-1600 for 3.2RC2