RFR: JDK-8014045 - test/java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java failing intermittently

Mandy Chung mandy.chung at oracle.com
Fri Jun 28 17:06:26 UTC 2013


Hi Daniel,

On 6/20/2013 3:50 AM, Daniel Fuchs wrote:
> Right. I have changed the test to temporarily retrieve the named loggers
> and keep them in an HashMap - this way they should not be gc'ed.
>
> <http://cr.openjdk.java.net/~dfuchs/JDK-8014045/webrev.01/>

This looks good.  This is a better approach and I like it so that the 
test can verify precisely the returned values from two mbeans.

Mandy



More information about the core-libs-dev mailing list