Community
Participate
Working Groups
The following code compiles fine but throws a VerifyError when run. Javac dies just trying to compile it. class Wrapper< T > { public T value; } public class Test { public static void main( final String[ ] args ) { final Wrapper< Integer > wrap = new Wrapper< Integer >( ); wrap.value = 0; wrap.value = wrap.value + 1; // works wrap.value++; // throws VerifyError wrap.value += 1; // throws VerifyError } }
Cannot reproduce any longer with latest. Dup of bug 101779. Added AutoboxingTest#test111 *** This bug has been marked as a duplicate of 101779 ***