Possible concurrency issue with JVM_AddModuleExports

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • b126
    • Verified

      We have an intermittent test failure with one of the XML tests that we believe comes down to a concurrency issue in JVM_AddModuleExports.

      Attached to this bug is a stripped down test case that duplicates the issue most of the time. The test has 2 modules. Module jdk.test is in the boot layer. It creates a child layer with one module jdk.translet. Code in jdk.test uses core reflection to invoke a method in jdk.translet, this is turn makes a static call back to jdk.test. The test does this 10000 times and once in a while fails with IllegalAccessError in the access check on the callback.

            Assignee:
            Lois Foltan
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: