Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1167

The example does not work under JVM 1.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.1.0
    • 4.1.2
    • None
    • None
    • JVM 1.4.2

    • Patch Available

    Description

      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.

      Attachments

        Activity

          People

            aco Adrian T. Co
            woon_san Woonsan Ko
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: