RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java (original) (raw)
Daniel Fuchs daniel.fuchs at oracle.com
Mon May 11 13:52:42 UTC 2015
- Previous message: RFR: 8077242: Add default method CharSequence.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
- Next message: RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
best regards,
-- daniel
- Previous message: RFR: 8077242: Add default method CharSequence.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
- Next message: RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]