Community
Participate
Working Groups
Having a local enum type is illegal. We support this, but we fail with a syntax error. Syntax error on token "enum", interface expected We suggest interface to be a replacement, but in fact local interfaces are also illegal. So I would suggest to treat local enums like local interfaces. This would make it more consistent.
Same treatment should be done for local annotation types.
Fixed and released in HEAD. Regression test added in EnumTest.test81
*** Bug 80066 has been marked as a duplicate of this bug. ***
Verified in 20050330-0500