Summary: | Compiler produces invalid bytecode for certain enum declarations | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | harding fela <hardingfela> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1.2 | ||||||
Target Milestone: | 3.3 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
harding fela
2006-09-07 11:51:26 EDT
I'll investigate. We are wrong to set the abstract bit when the enum type has no enum constant. This bit should be set only when some enum constants don't define the interface method. Created attachment 49656 [details]
Proposed fix
Released for 3.3M2. Fixed and released in HEAD. Added regression test in org.eclipse.jdt.core.tests.compiler.regression.EnumTest#test137 Verified for 3.3 M2 using build I20060918-0010. |