RFR: 8237388: serviceability/dcmd/framework/VMVersionTest.java fails with connection refused error.
Chris Plummer
cjplummer at openjdk.java.net
Thu Jun 3 20:34:56 UTC 2021
On Tue, 1 Jun 2021 22:24:31 GMT, Alex Menkov <amenkov at openjdk.org> wrote:
>> test/hotspot/jtreg/serviceability/dcmd/framework/process/TestJavaProcess.java line 51:
>>
>>> 49: String cmd = pipe.readln();
>>> 50: int exitCode = PASSED;
>>> 51: if ("quit".equals(cmd)) {
>>
>> I don't see how this is an improvement.
>
> Working on the fix I got null cmd here.
> I think "Invalid command received null" failure is clearer than NPE
Ok
-------------
PR: https://git.openjdk.java.net/jdk/pull/4235
More information about the serviceability-dev
mailing list