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

Race condition in Class::protectionDomain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 24
    • None
    • core-libs
    • None
    • b08

    Description

      The read access to static field allPermDomain happens twice, meaning the 2nd read `pd = allPermDomain` may observe a null value and lead to getProtectionDomain returning null.

      Attachments

        Issue Links

          Activity

            People

              weijun Weijun Wang
              weijun Weijun Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: