« Return to Thread: [janino-dev] [jira] Created: (JANINO-124) Janino generates StringBuilder for concatenation all the time

[janino-dev] [jira] Created: (JANINO-124) Janino generates StringBuilder for concatenation all the time

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

Reply to Author | View in Thread

Janino generates StringBuilder for concatenation all the time
-------------------------------------------------------------

                 Key: JANINO-124
                 URL: http://jira.codehaus.org/browse/JANINO-124
             Project: Janino
          Issue Type: Bug
    Affects Versions: 2.5.14, 2.5.13, 2.5.12
         Environment: Java 5/6 for compilaction, Java 1.4 or less for execution
            Reporter: Brad Koehn
            Assignee: Arno Unkrig
         Attachments: UnitCompiler.java

There's no way to compile classes with Janino under Java 5/6 and run them under 1.4, if String concatenation is used.

I attached an updated version of UnitCompiler that checks for a system property which allows users to override the StringBuilder/StringBuffer choice.

--
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-124) Janino generates StringBuilder for concatenation all the time