[janino-dev] [jira] Created: (JANINO-123) SimpleCompiler throws Exception when using full-qualified Type in Signature

View: New views
4 Messages — Rating Filter:   Alert me  

[janino-dev] [jira] Created: (JANINO-123) SimpleCompiler throws Exception when using full-qualified Type in Signature

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SimpleCompiler throws Exception when using full-qualified Type in Signature
---------------------------------------------------------------------------

                 Key: JANINO-123
                 URL: http://jira.codehaus.org/browse/JANINO-123
             Project: Janino
          Issue Type: Bug
    Affects Versions: 2.5.12
         Environment: Windows XP, Java 1.6, Janino 2.5.12
            Reporter: Robert Klaus
            Assignee: Arno Unkrig
         Attachments: SimpleCompilerProblem.zip

Under certain constellations in a class SimpleCompiler throws exceptions, when using a cook* method (maybe in conjunction with a JavaSourceClassLoader). I have tracked this down and attached a Zip containing sample source code and a JUnit TestCase.

The problematic class is data.Direction, see the comments at the method "byName" in the source. In short, it seems to be a problem in mixing full-qualifed with unqualified Typenames. When not mixing, it works without problems (see data.Direction2)

BTW: The problem does not occur when using Compiler (Tested as well ;) )





--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[janino-dev] [jira] Commented: (JANINO-123) SimpleCompiler throws Exception when using full-qualified Type in Signature

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JANINO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139225#action_139225 ]

Arno Unkrig commented on JANINO-123:
------------------------------------

Occurs with 2.5.12 and 2.5.13, but not with 2.5.15. Please update and try again.

> SimpleCompiler throws Exception when using full-qualified Type in Signature
> ---------------------------------------------------------------------------
>
>                 Key: JANINO-123
>                 URL: http://jira.codehaus.org/browse/JANINO-123
>             Project: Janino
>          Issue Type: Bug
>    Affects Versions: 2.5.12
>         Environment: Windows XP, Java 1.6, Janino 2.5.12
>            Reporter: Robert Klaus
>            Assignee: Arno Unkrig
>         Attachments: SimpleCompilerProblem.zip
>
>
> Under certain constellations in a class SimpleCompiler throws exceptions, when using a cook* method (maybe in conjunction with a JavaSourceClassLoader). I have tracked this down and attached a Zip containing sample source code and a JUnit TestCase.
> The problematic class is data.Direction, see the comments at the method "byName" in the source. In short, it seems to be a problem in mixing full-qualifed with unqualified Typenames. When not mixing, it works without problems (see data.Direction2)
> BTW: The problem does not occur when using Compiler (Tested as well ;) )

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[janino-dev] [jira] Commented: (JANINO-123) SimpleCompiler throws Exception when using full-qualified Type in Signature

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JANINO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139272#action_139272 ]

Robert Klaus commented on JANINO-123:
-------------------------------------

Updated to 2.5.15 and worked fine. Thanks

> SimpleCompiler throws Exception when using full-qualified Type in Signature
> ---------------------------------------------------------------------------
>
>                 Key: JANINO-123
>                 URL: http://jira.codehaus.org/browse/JANINO-123
>             Project: Janino
>          Issue Type: Bug
>    Affects Versions: 2.5.12
>         Environment: Windows XP, Java 1.6, Janino 2.5.12
>            Reporter: Robert Klaus
>            Assignee: Arno Unkrig
>         Attachments: SimpleCompilerProblem.zip
>
>
> Under certain constellations in a class SimpleCompiler throws exceptions, when using a cook* method (maybe in conjunction with a JavaSourceClassLoader). I have tracked this down and attached a Zip containing sample source code and a JUnit TestCase.
> The problematic class is data.Direction, see the comments at the method "byName" in the source. In short, it seems to be a problem in mixing full-qualifed with unqualified Typenames. When not mixing, it works without problems (see data.Direction2)
> BTW: The problem does not occur when using Compiler (Tested as well ;) )

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[janino-dev] [jira] Closed: (JANINO-123) SimpleCompiler throws Exception when using full-qualified Type in Signature

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/JANINO-123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arno Unkrig closed JANINO-123.
------------------------------

    Resolution: Fixed

> SimpleCompiler throws Exception when using full-qualified Type in Signature
> ---------------------------------------------------------------------------
>
>                 Key: JANINO-123
>                 URL: http://jira.codehaus.org/browse/JANINO-123
>             Project: Janino
>          Issue Type: Bug
>    Affects Versions: 2.5.12
>         Environment: Windows XP, Java 1.6, Janino 2.5.12
>            Reporter: Robert Klaus
>            Assignee: Arno Unkrig
>         Attachments: SimpleCompilerProblem.zip
>
>
> Under certain constellations in a class SimpleCompiler throws exceptions, when using a cook* method (maybe in conjunction with a JavaSourceClassLoader). I have tracked this down and attached a Zip containing sample source code and a JUnit TestCase.
> The problematic class is data.Direction, see the comments at the method "byName" in the source. In short, it seems to be a problem in mixing full-qualifed with unqualified Typenames. When not mixing, it works without problems (see data.Direction2)
> BTW: The problem does not occur when using Compiler (Tested as well ;) )

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email