RFR: 7903390: Summary reporter getter not thread-safe

Christian Stein cstein at openjdk.org
Fri Dec 2 06:48:34 UTC 2022


Prevent `ConcurrentModificationException` by making the two static methods that populate the instance map `synchronized`.

-------------

Commit messages:
 - 7903390: Summary reporter getter not thread-safe

Changes: https://git.openjdk.org/jtreg/pull/139/files
 Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=139&range=00
  Issue: https://bugs.openjdk.org/browse/CODETOOLS-7903390
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jtreg/pull/139.diff
  Fetch: git fetch https://git.openjdk.org/jtreg pull/139/head:pull/139

PR: https://git.openjdk.org/jtreg/pull/139


More information about the jtreg-dev mailing list