Summary: | [1.5][compiler] Boxing conversion should be performed in conditional expression | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Chris Smith <cdsmith> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.2 | ||
Target Milestone: | 3.2 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Chris Smith
2006-01-06 19:17:39 EST
Good find. Indeed the compiler logic is wrong. It must promote both operands in this situation (bogus 'else' in between to IFs). Added AutoboxingTest#test117 should backport to 3.1.x Fixed in 3.2 and 3.1.x streams. Verified for 3.2 M5 using build I20060215-0010 |