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

java.net.Authenticator.theAuthenticator should be properly synchronized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 6, 7, 8u20
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b42

      Backports

        Description

        As reported here:
         http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-November/029684.html

        Set under lock in setDefault(), read without the lock in requestPasswordAuthentication().
        Should be at least volatile to guarantee the memory semantics.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: