RFR: 7903390: Summary reporter getter not thread-safe

Christian Stein cstein at openjdk.org
Fri Dec 2 07:05:44 UTC 2022


On Fri, 2 Dec 2022 06:41:42 GMT, Christian Stein <cstein at openjdk.org> wrote:

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

Yes, a reporter for JUnit was added by https://github.com/openjdk/jtreg/commit/2bddb406f907072b6951b8b02a0c1a7cf640d7bf (https://bugs.openjdk.org/browse/CODETOOLS-7903264).

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

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


More information about the jtreg-dev mailing list