Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903390

Summary reporter getter not thread-safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • jtreg7.2
    • jtreg7.1
    • tools
    • None

      An exception

      java.util.ConcurrentModificationException
      at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1229)
      at com.sun.javatest.regtest.report.SummaryReporter.forTestNG(SummaryReporter.java:61)
      at com.sun.javatest.regtest.exec.RegressionScript.getTestNGSummaryReporter(RegressionScript.java:1100)
      at com.sun.javatest.regtest.exec.TestNGAction.endAction(TestNGAction.java:174)
      at com.sun.javatest.regtest.exec.MainAction.run(MainAction.java:361)
      at com.sun.javatest.regtest.exec.RegressionScript.run(RegressionScript.java:275)
      at com.sun.javatest.Script.run(Script.java:431)
      at com.sun.javatest.DefaultTestRunner.runTest(DefaultTestRunner.java:183)
      at com.sun.javatest.DefaultTestRunner$1.run(DefaultTestRunner.java:76)

      leads to a couple of JDK tests to fail in "error".

            cstein Christian Stein
            cstein Christian Stein
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: