| Summary: | Error with shadowed enum declarations | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | Duane Griffin <d.griffin> |
| Component: | IDL compiler | Assignee: | Gerald Brose <gerald.brose> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | Thomas.Leineweber |
| Priority: | P2 | ||
| Version: | 2.2.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-developer/2005-July/007472.html | ||
| Attachments: | Patch to prevent shadowed enums from crashing the IDL compiler | ||
Created attachment 163 [details]
Patch to prevent shadowed enums from crashing the IDL compiler
|
As reported by John Fisher, the IDL below does not work. It looks like there is a problem in src/org/jacorb/idl/NameTable.java relating to shadowed enums. I've attached a patch that seems to fix the problem. interface A { enum my_enum { ENUM1, ENUM2 }; }; interface B : A { enum my_enum { ENUM1, ENUM3 }; };