Summary: | [1.5] Creating an enum which inherits abstract methods from an interface results in InvocationTargetException | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Erol Koç <erol_koc_OTI> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | martinae |
Version: | 3.1 | ||
Target Milestone: | 3.1 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | 77894 | ||
Bug Blocks: |
Description
Erol Koç
2004-11-04 13:17:48 EST
The workaround is to set the workspace compiler preference to be 1.5. You can then add the implemented method. It doesn't handle the fact that the method needs to be added after the enum constant. So it doesn't add the extra semi-colon required. I think this should be fixed by use DOM/AST inside the jdt/core operations. Is it ok now? |