Issue Details (XML | Word | Printable)

Key: AMQ-1167
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Adrian Co
Reporter: Woonsan Ko
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

The example does not work under JVM 1.4

Created: 21/Feb/07 08:26 PM   Updated: 17/Jun/07 11:50 PM
Return to search
Component/s: None
Affects Version/s: 4.1.0
Fix Version/s: 4.1.2

Time Tracking:
Not Specified

File Attachments:
  Size
Text File example-diff.txt 2007-02-21 08:26 PM Woonsan Ko 4 kB
Environment: JVM 1.4.2

Patch Info: Patch Available


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
James Strachan made changes - 12/Jun/07 03:30 AM
Field Original Value New Value
Assignee Adrian Co [ aco ]
Adrian Co made changes - 17/Jun/07 09:41 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 4.1.2 [ 11801 ]