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

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

[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 Threaded | Show Only this Message

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



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

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

Reply to Author | View Threaded | Show Only this Message


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

Arno Unkrig resolved JANINO-124.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.16

Applied the fix.

Next time, please send a patch instead of a complete source file, or at least state what verseion the source file is based upon!

> 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.12, 2.5.13, 2.5.14
>         Environment: Java 5/6 for compilaction, Java 1.4 or less for execution
>            Reporter: Brad Koehn
>            Assignee: Arno Unkrig
>             Fix For: 2.5.16
>
>         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