Bug 80899 - Boxing
Summary: Boxing
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0.1   Edit
Hardware: PC Windows XP
: P3 trivial (vote)
Target Milestone: 3.1 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 01:25 EST by leisureall CLA
Modified: 2004-12-14 23:14 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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