JavaParser.parseObject() handles inner interfaces incorrectly
-------------------------------------------------------------

                 Key: JAXME-95
                 URL: https://issues.apache.org/jira/browse/JAXME-95
             Project: JaxMe
          Issue Type: Bug
          Components: JaxMeJS
    Affects Versions: 0.5
         Environment: N/A
            Reporter: David Karnok


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to