classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-xml] Aelfred2 and JDK1.1 compatibility


From: Chris Burdess
Subject: Re: [Classpathx-xml] Aelfred2 and JDK1.1 compatibility
Date: Sun, 8 Aug 2004 15:48:13 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maarten Coene wrote:
I was browsing through the sources of SAXDriver and XmlParser, and I noticed a comment in the import statements claiming JDK 1.1 compatibility:

SAXDriver.java:
[...]
// maintaining 1.1 compatibility for now ... more portable, PJava, etc
// Iterator, Hashmap and ArrayList ought to be faster
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import java.util.Vector;
[...]

However, some of these imports are not 1.1 compatible ... should the comment be removed, or should the code be refactored to keep 1.1 compatibility?

JDK1.1 compatibility is not a target, unlike Classpath/libgcj compatibility.

We should be reevaluating this code to use more performant collection classes. - -- Chris Burdess
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBFj0t6dl1DEqHgrgRAtyBAJ0eBJnJkhZbzV7lazN2mep3QrzNmwCeJNND
hhcqowKT4sWtiiG9p6Bvc8A=
=QIoZ
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]