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

java.net.Authenticator.theAuthenticator should be properly synchronized

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 6, 7, 8u20
    • core-libs
    • None
    • b42

        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.

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

                Created:
                Updated:
                Resolved: