RFR: 8284779: Test java/util/logging/Logger/logrb/TestLogrbResourceBundle.java fails intermittently with vthreads wrapper [v2]

Alan Bateman alanb at openjdk.java.net
Mon Apr 25 13:56:04 UTC 2022


On Mon, 25 Apr 2022 13:52:38 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Hi,
>> 
>> Please find enclosed a patch to fix a rare intermittent failure that was detected while testing virtual threads.
>> The issue has nothing to do with virtual threads, the test is simply missing a reachability fence to make sure that the parent logger is not garbage collected until its child logger is created.
>> 
>> best regards,
>> 
>> -- daniel
>
> Daniel Fuchs has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyright year again

Marked as reviewed by alanb (Reviewer).

test/jdk/java/util/logging/Logger/logrb/TestLogrbResourceBundle.java line 3:

> 1: /*
> 2:  * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
> 3:  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

I think you meant 2022 :-)

-------------

PR: https://git.openjdk.java.net/jdk/pull/8382


More information about the core-libs-dev mailing list