RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java

Daniel Fuchs daniel.fuchs at oracle.com
Mon May 11 13:52:42 UTC 2015

Please find below a fix for:

8079773: java/util/logging/LogManager/TestLoggerNames.java

The issue arises from a race condition in the test logic.

The test calls LogManager.getLoggerNames(), reset, and adds
and remove loggers concurrently - mostly for the purpose of
validating that no CME will be thrown.

It also attempts to partially validate the logger names enumeration
returned by LogManager - but the validation logic left a small
opportunity for a race condition to appear (and it did).


best regards,

-- daniel

More information about the core-libs-dev mailing list