RFR: 8305421: Work around JDK-8305420 in CDSJDITest.java

Chris Plummer cjplummer at openjdk.org
Mon Apr 3 19:01:59 UTC 2023


On Sun, 2 Apr 2023 22:11:40 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> Please review this trivial work-around that removes logging that would trigger [JDK-8305420](https://bugs.openjdk.org/browse/JDK-8305420).
> 
> I also fixed an incorrect parameter in the `executeAndLog()` call, which caused the dumping process's stdout/stderr to be logged in the wrong file.

Change looks good. Per https://bugs.openjdk.org/browse/JDK-8173304, this is a known issue and tests need to avoid having the JVM  produce too much output before the debugger connection is setup.

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

Marked as reviewed by cjplummer (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13283#pullrequestreview-1369626298


More information about the serviceability-dev mailing list