Bug 80899

Summary: Boxing
Product: [Eclipse Project] JDT Reporter: leisureall <leisureall>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.0.1   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description leisureall CLA 2004-12-14 01:25:02 EST
Eclipse and javac differently interpret such lines as

int a = 10;
a += new Integer(15);

It is absolutely legal for javac, but eclipse highlights it as an error.
Comment 1 Olivier Thomann CLA 2004-12-14 10:57:26 EST
Compile and run fine in latest.
Comment 2 Olivier Thomann CLA 2004-12-14 23:14:23 EST
Verified in 200412140800