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

sun.net.www.protocol.https.HttpsClient#putInKeepAliveCache() doesn't use a lock while dealing with "inCache" field

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 19
    • 17
    • core-libs
    • b13

    Description

      HttpsClient extends sun.net.www.http.HttpClient. HttpClient internally uses a lock when dealing with internal state, in methods like putInKeepAliveCache(). The HttpsClient overrides this method and in its implementation it doesn't use the lock when dealing with the "inCache" internal field. This looks like an oversight.

      Attachments

        Issue Links

          Activity

            People

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: