Summary: | First anonymous type should be named X$1 | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Philipe Mulet
2003-01-16 10:34:03 EST
Local type constantpool computation occurs during codegen. As a consequence, since the name of the anonymous subclass of A is required first (enclosing instance is generated just after new<anonymous-sub-A> bytecode sequence), the ordering is wrong. Can be fixed by moving the naming to the flow analysis where the proper order is used to traverse the parse tree. Fixed. Constant pool names are now computed during flow analysis. Verified. |