RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java (original) (raw)
Mandy Chung mandy.chung at oracle.com
Mon May 11 19:20:09 UTC 2015
- Previous message: RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java
- Next message: RFR: 8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/webrev8079773/webrev.00/
Looks okay to me.
Mandy
- Previous message: RFR: 8079773: java/util/logging/LogManager/TestLoggerNames.java
- Next message: RFR: 8079459: JCK test api/java_nio/ByteBuffer/index.html#GetPutXXX start failing after JDK-8026049
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]