activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Co (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AMQ-1167) The example does not work under JVM 1.4
Date Mon, 18 Jun 2007 04:42:34 GMT

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

Adrian Co resolved AMQ-1167.
----------------------------

       Resolution: Fixed
    Fix Version/s: 4.1.2

Fix added to: http://svn.apache.org/viewvc?view=rev&rev=548207

Though I've decided to just create a simple Utilities class to do the converting from arrays
to string. Just to avoid adding a dependency to spring and keep the examples simpler.

Thanks for the heads up Woonsan. :)

> The example does not work under JVM 1.4
> ---------------------------------------
>
>                 Key: AMQ-1167
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1167
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: JVM 1.4.2
>            Reporter: Woonsan Ko
>            Assignee: Adrian Co
>            Priority: Minor
>             Fix For: 4.1.2
>
>         Attachments: example-diff.txt
>
>
> The example under ./example/ directory does not work because its sources uses Arrays.toString()
method, which is available only in JVM 1.5.
> So, I modified 'Arrays.toString()' to 'CollectionUtils.arrayToList()' using Spring 2.0
utility. The CollectionUtils.arrayToList() method returns an adequate list instance for primitive
arrays or object arrays, and toString() method of list is very similar to 'Arrays.toString()'
method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message