RFR: 8150533 - Test java/util/logging/LogManagerAppContextDeadlock.java times out intermittently.

Daniel Fuchs daniel.fuchs at oracle.com
Thu Feb 25 14:30:44 UTC 2016


Hi,

Please find below a simple fix for

8150533 - Test java/util/logging/LogManagerAppContextDeadlock.java times 
out intermittently.

This is a test bug.

The issue is that the logger created by thread t2 might get
garbage collected before the main thread calls
LogManager.getLogger().

If that happens when there's no security manager then
the test will wait forever - and be killed by jtreg
timeout.

The fix is quite simple:

http://cr.openjdk.java.net/~dfuchs/webrev_8150533/webrev.00/

best regards,

-- daniel



More information about the core-libs-dev mailing list