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

Race condition in Class::protectionDomain

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: