Bug 105524

Summary: VerifyError when using generics with autoboxing
Product: [Eclipse Project] JDT Reporter: Kory Markevich <vulcannis>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1.1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Kory Markevich CLA 2005-07-28 17:20:04 EDT
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
    }
}
Comment 1 Philipe Mulet CLA 2005-07-28 18:19:28 EDT
Cannot reproduce any longer with latest. Dup of bug 101779.
Added AutoboxingTest#test111

*** This bug has been marked as a duplicate of 101779 ***