xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xmlbeans-...@xml.apache.org
Subject [jira] Resolved: (XMLBEANS-20) JDK 1.3.1 backport: 1.4 Collections classes should be replaced with 1.3-compliant versions
Date Thu, 15 Jul 2004 21:45:42 GMT

   The following issue has been resolved as FIXED.

   Resolver: Kevin Krouse
       Date: Thu, 15 Jul 2004 2:44 PM

We didn't want to introduce another jar and ripping out the desired classes from the commons
collections proved difficult.  Instead we opted to use some stand alone collection classes.
View the issue:

Here is an overview of the issue:
        Key: XMLBEANS-20
    Summary: JDK 1.3.1 backport: 1.4 Collections classes should be replaced with 1.3-compliant
       Type: Improvement

     Status: Resolved
   Priority: Major
 Resolution: FIXED

    Project: XMLBeans
   Fix Fors:
             Version 1.0.3 (jdk1.3 port)
             Version 1

   Reporter: Matt Bishop

    Created: Mon, 9 Feb 2004 5:46 PM
    Updated: Thu, 15 Jul 2004 2:44 PM

After looking at various implementations of the 1.4 Collections classes, it looks like jakarta
commons-collections has the most going for it--same functionality, well-tested, compatible

The downside is the extra jar--there were too many dependencies to rip out just the classes
we need, it quickly lost it's value.  The jar itself is 508k.

This is the gist of the changes:

** java.util.IdentityHashMap -> collections.IdentityMap - Same functionality, both for
keys and values wrt equality testing.  Same perf.

** java.util.LinkedHashMap -> collections.LinkedMap - Same functionality and perf.

** java.util.LinkedHashSet -> collections.ListOrderedSet.decorate(new HashSet) - Same functionality
and perf.

collections.jar/license.txt live in external/lib and are moved to build/ar/ during the build
and dist processes.

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

View raw message