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

URLClassPath should use an ArrayDeque instead of a Stack

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • core-libs
    • None

      Stack is a deprecated class, derived from Vector, and URLClassPath synchronizes on the object, not using its internal synchronization. ArrayDeque also allows O(1) access to both ends.

            martin Martin Buchholz
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: