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

2013-06-28 Thread Mandy Chung
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. This looks good. This is a better approac

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

2013-06-20 Thread Daniel Fuchs
On 6/20/13 12:50 PM, 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. Wrong URL, sorry: -- daniel

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

2013-06-20 Thread Daniel Fuchs
On 6/19/13 8:25 PM, Mandy Chung wrote: On 6/19/13 2:00 AM, Daniel Fuchs wrote: On 6/13/13 10:05 PM, Mandy Chung wrote: Daniel, I wonder what the list of logger names (loggers1 and loggers2) returned by LoggingMXBean contains and that may include loggers in the running VM other than the ones cr

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

2013-06-19 Thread Mandy Chung
On 6/19/13 2:00 AM, Daniel Fuchs wrote: On 6/13/13 10:05 PM, Mandy Chung wrote: Daniel, I wonder what the list of logger names (loggers1 and loggers2) returned by LoggingMXBean contains and that may include loggers in the running VM other than the ones created and kept a strong reference by the

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

2013-06-19 Thread Daniel Fuchs
On 6/13/13 10:05 PM, Mandy Chung wrote: Daniel, I wonder what the list of logger names (loggers1 and loggers2) returned by LoggingMXBean contains and that may include loggers in the running VM other than the ones created and kept a strong reference by the test. In other words, would it be possi

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

2013-06-19 Thread Daniel Fuchs
On 6/19/13 11:00 AM, Daniel Fuchs wrote: On 6/13/13 10:05 PM, Mandy Chung wrote: Daniel, I wonder what the list of logger names (loggers1 and loggers2) returned by LoggingMXBean contains and that may include loggers in the running VM other than the ones created and kept a strong reference by th

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

2013-06-13 Thread Daniel Fuchs
On 6/13/13 10:05 PM, Mandy Chung wrote: Daniel, I wonder what the list of logger names (loggers1 and loggers2) returned by LoggingMXBean contains and that may include loggers in the running VM other than the ones created and kept a strong reference by the test. In other words, would it be

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

2013-06-13 Thread Mandy Chung
Daniel, I wonder what the list of logger names (loggers1 and loggers2) returned by LoggingMXBean contains and that may include loggers in the running VM other than the ones created and kept a strong reference by the test. In other words, would it be possible for the running VM that has log

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

2013-06-13 Thread Daniel Fuchs
Hi, Please find below an attempt at fixing test/java/lang/management/PlatformLoggingMXBean/LoggingMXBeanTest.java This is an intermittent failure which I haven't managed to reproduce, so I am reduced to figure out what could have gone wrong by analyzing the code. AFAICT the NPE is thrown when L