[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-serviceability-dev
Subject: Integrated: 8274621: NullPointerException because listenAddress[0] is null
From: Alex Menkov <amenkov () openjdk ! java ! net>
Date: 2021-10-29 21:41:24
Message-ID: 8xHfpmOmlD722ZNZmGYMM-BfkPonw0bHhU3zFBLRo3o=.a3e9c061-fdc2-4fe1-a956-0b138918d022 () github ! com
[Download RAW message or body]
On Tue, 5 Oct 2021 22:34:38 GMT, Alex Menkov <amenkov@openjdk.org> wrote:
> The change fixes ProcessTools.startProcess "warmup predicate" synchronization \
> issue. Initially the predicate was called only for STDOUT;
> From jdk8 it's called for STDERR too (but ProcessTools javadoc was not updated).
> The fix keeps existing functionality as is (as we have this behavior for a long \
> time and we have tests which expect STDERR output), but adds synchronization to \
> avoid calling predicate after previous call returned "true". Also updated javadoc \
> to reflect actual behavior.
This pull request has now been integrated.
Changeset: 5bbc8d3c
Author: Alex Menkov <amenkov@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/5bbc8d3cb2ce487b367ee1a621d78699c9b30100
Stats: 14 lines in 1 file changed: 4 ins; 0 del; 10 mod
8274621: NullPointerException because listenAddress[0] is null
Reviewed-by: sspitsyn, lmesnik, cjplummer
-------------
PR: https://git.openjdk.java.net/jdk/pull/5830
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic