Summary: | [compiler][1.5] an extra checkcast bytecode instruction generated | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Sergey Bushkov <sbushkov> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.2.1 | ||||||
Target Milestone: | 3.3 M6 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Sergey Bushkov
2007-02-05 15:32:59 EST
This is indeed suboptimal. I'll investigate. Too late for 3.2.2. More information: the extra checkcast does not appear if compiler compliance level is set to 1.4. There seems to be an irrelevant generic cast inserted. We were protecting against such a situation, but not perfectly. The postConversionType is an erased type, which doesn't compare identical to a raw/param type. Created attachment 59593 [details]
Proposed patch
Fixed Verified for 3.3 M6 using build I20070320-0010 |