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

java.net.Authenticator.theAuthenticator should be properly synchronized

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 6, 7, 8u20
    • core-libs
    • None
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: