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

Possible concurrency issue with JVM_AddModuleExports

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • 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.

            lfoltan Lois Foltan
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: