Summary: | [1.5][compiler] ternary conditional operator returns wrong type | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | eclipse.19.jbag | ||||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | eclipse.19.jbag | ||||||
Version: | 3.2 | ||||||||
Target Milestone: | 3.2.2 | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
eclipse.19.jbag
2006-08-25 14:30:37 EDT
Problem comes from constant inlining missing the boxing conversion, and reverting by default to string conversion. Created attachment 49388 [details]
Proposed patch
Patch against 3.2maintenance stream.
Created attachment 49396 [details]
Better patch
Patch for 3.2 maintenance
Released for 3.3M2 (HEAD) A little bit reluctant for 3.2.1, since the change is bigger than I would have preferred for pure maintenance. The patch passes all our tests. Fixed reopening for addressing in 3.2.2 branch Released for 3.2.2 Verified for 3.3 M2 using build I20060922-0010. Note that AutoBoxingTest#test0124() does not fail with 3.3 M1 => not sure this is a variation of this bug... verified for 3.2.2 using build M20070112-1200 |