RFR: 8030192 - [TEST_BUG] java/util/logging/TestLoggerBundleSync.java failed with NPE
Daniel Fuchs
daniel.fuchs at oracle.com
Wed Dec 18 15:02:21 UTC 2013
Hi
Please find below a fix for:
8030192 - [TEST_BUG] java/util/logging/TestLoggerBundleSync.java
failed with NPE
https://bugs.openjdk.java.net/browse/JDK-8030192
http://cr.openjdk.java.net/~dfuchs/webrev_8030192/webrev.00/
There were two issues in the test:
1. The message that was generated when the test failed
caused a NPE.
2. The test failed because it didn't hold long enough on
its logger, which got eagerly gc'ed before the end
of the test.
I managed to reproduce the issue quite consistently on my machine,
when running the test in a while loop (failed usually after ~10 to
20mins). After changing the test it ran for hours without failing.
I intend to push this fix in JDK 9.
best regards,
-- daniel
More information about the core-libs-dev
mailing list