Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6351336

com.sun.tools.javac.util.List shouldn't extend java.util.AbstractList

XMLWordPrintable

    • b92
    • generic
    • generic
    • Verified

      com.sun.tools.javac.util.List objects are intended to be lightweight. However,
      java.util.AbstractList has a modcount field which is unused by
      com.sun.tools.javac.util.List.

      It is possible to save some resources by implementing java.util.List interface
      directly, rather than extending java.util.AbstractList.

            jjg Jonathan Gibbons
            ahe Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: