Summary: | [1.5] Conditional expression unboxing should handle this case | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Olivier Thomann
2004-12-09 14:35:48 EST
As soon as both operands are numeric using unboxing, conditional operator is unboxing both operands. So bool ? Integer : Character ==> bool ? int : char. We were incorrectly letting it use the reference type scenario instead. Added AutoboxingTest#test095-096 Fixed Verified in I20050214 |