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

URL.factory data race

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 7u51, 8u5, 9
    • core-libs
    • b23

      There's a data race accessing java.net.URL.factory static field in getURLStreamHandler() method (used in constructors and readObject()) which can cause incorrect publication of URLStreamHandlerFactory instance. The URL.factory field should be made volatile.

            plevart Peter Levart
            plevart Peter Levart
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: