java.net.Authenticator.theAuthenticator should be properly synchronized

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 6, 7, 8u20
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: