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

[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 in Thread

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


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