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

Unnecessary Vector usage in PropertyEditorSupport

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P5
    • 20
    • 11, 17, 19, 20
    • client-libs

    Description

      Field PropertyEditorSupport.listeners is accessed only under synchronized(this).
      It means extra synchronization by Vector is not needed. And we can use non-thread safe ArrayList instead.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: