You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org> on 2008/03/13 21:26:24 UTC

[jira] Resolved: (JAXME-95) JavaParser.parseObject() handles inner interfaces incorrectly

     [ https://issues.apache.org/jira/browse/JAXME-95?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Wiedmann resolved JAXME-95.
----------------------------------

    Resolution: Fixed

Applied, thank you!


> 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
>            Assignee: Jochen Wiedmann
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> 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: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org