Re: Aelfred2 and JDK1.1 compatibility
Chris Burdess <[email protected]>
| Newsgroups | gmane.comp.java.classpath.extensions.xml |
|---|---|
| Message-ID | <[email protected]> |
-----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-----