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

Replace usages of java.util.Stack with ArrayDeque

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 18
    • 16, 17
    • other-libs
    • None
    • b16

      java.util.Stack is a legacy thread-safe collections.
      When thread-safety is not required it's better to use ArrayDeque or ArrayList.

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: