RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java
Mandy Chung
mandy.chung at oracle.com
Mon May 11 19:20:09 UTC 2015
On 05/11/2015 06:52 AM, Daniel Fuchs wrote:
> 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).
>
> http://cr.openjdk.java.net/~dfuchs/webrev_8079773/webrev.00/
>
Looks okay to me.
Mandy
More information about the core-libs-dev
mailing list