Announcement Announcement Module
Collapse
No announcement yet.
Can Spring use LinkedMap instead of LinkedHashMap for jdk1.3 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can Spring use LinkedMap instead of LinkedHashMap for jdk1.3

    Can spring be changed to use org.apache.commons.collections.map.LinkedMap instead of LinkedHashMap for jdk 1.3 compatiblility? If so please email me at KeithGarry.Boyce at bcbsma.com for status.

  • #2
    Have I put this in the right forum?

    Have I put this in the right forum? No one has responded.

    Comment


    • #3
      Which component are you refering to? Spring should run just fine on Java 1.3 but it can only be built on 1.4. If you have found a module that has a 1.4 dependency with no 1.3 alternative please post details of the component in question.

      Rob

      Comment


      • #4
        Functionality is unnecessarily lost running spring in jdk1.3

        What I am saying is that there is no need to lose functionality in jdk 1.3 because the LinkedHashMap is not a class in jdk1.3. If you use LinkedMap instead then I will have all the functionality that is lost in jdk 1.3 with respect to ordering etc.

        Comment


        • #5
          Done. To avoid a dependency on Commons Collections though, I've introduced a CollectionFactory helper which prefers JDK 1.4 LinkedHashMap, then Commons Collections 3.x' LinkedMap, then the standard HashMap.

          See the JIRA issue for details:
          http://opensource.atlassian.com/proj...browse/SPR-352

          Juergen

          Comment

          Working...
          X