Summary: | [1.5] VerifyError with Autoboxing | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Stefan Matthias Aust <sma> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 M5 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Stefan Matthias Aust
2005-01-08 19:17:26 EST
The ireturn is fine as long as the implicit conversion is generated. Doing this, the ireturn would be replaced with: invokestatic #29; //Method java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean; areturn Created attachment 17018 [details]
Apply on HEAD
Regression test in AutoBoxingTest.
The 'ireturn' bytecode is wrong; it should indeed to the boxing in this situation. Problem comes from the bytecode optimization for 'ReturnTypeIDMASK' which isn't properly handling boxing situations. Offending bytecode optimization is actually: 'ValueForReturnMASK'. Fixed in latest. Added regression tests: AutoboxingTest#test074-077 Verified in I20050214 |