Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.5
-
None
-
None
-
N/A
Description
In JavaParser.parseObject (468) the
case JavaTokenTypes.INTERFACE_DEF:
parseClassDefinition(pSource, JavaSource.CLASS, child);
break;
seems to be the copy-paste of the "case JavaTokenTypes.CLASS_DEF:" definition
and therefore causes IllegalStateException when tries to parse an internal interface.
The obvious correction would be to use JavaSource.INTERFACE instead.