RFR: 8150533 - Test java/util/logging/LogManagerAppContextDeadlock.java times out intermittently.
Joseph D. Darcy
joe.darcy at oracle.com
Thu Feb 25 17:43:58 UTC 2016
Hi Daniel,
Looks fine; thanks,
-Joe
On 2/25/2016 6:30 AM, Daniel Fuchs wrote:
> 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