[jdk11u-dev] Integrated: 8251361: Potential race between Logger configuration and GCs in HttpURLConWithProxy test
Aleksey Shipilev
shade at openjdk.java.net
Fri Aug 13 07:01:37 UTC 2021
On Mon, 9 Aug 2021 06:54:38 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> This backport is simple, but it does not apply cleanly to 11u due to context conflict with "8227539: Replace wildcard address with loopback or local host in tests - part 20". It brought `throws Exception` to `main` method. I resolved that conflict by hand.
>
> Additional testing:
> - [x] Affected test still passes
This pull request has now been integrated.
Changeset: d8e1e62d
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.java.net/jdk11u-dev/commit/d8e1e62de0f1077c5a8cc61369931326691b9fef
Stats: 7 lines in 1 file changed: 4 ins; 0 del; 3 mod
8251361: Potential race between Logger configuration and GCs in HttpURLConWithProxy test
Keep a static reference to the logger to prevent its inadvertent garbage collection while the test is running.
Backport-of: ed5696dd2ce318b2480c96b5eeaf319853ce5d89
-------------
PR: https://git.openjdk.java.net/jdk11u-dev/pull/208
More information about the jdk-updates-dev
mailing list