RFR: 8213714: AttachingConnector/attach/attach001 failed due to "bind failed: Address already in use" [v2]

Chris Plummer cjplummer at openjdk.java.net
Tue Aug 3 21:13:35 UTC 2021


On Tue, 3 Aug 2021 19:21:27 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

>> test/hotspot/jtreg/vmTestbase/nsk/share/jpda/DebugeeProcess.java line 330:
>> 
>>> 328:      */
>>> 329:     public void redirectStdout(Log log, String prefix) {
>>> 330:         redirectStdout(log, prefix, null);
>> 
>> Is there a reason to still support passing in the prefix even though it is ignored. Seems that could be confusing to someone looking at the caller code.
>
> I dont' quite follow.
> The prefix is not ignored, it's passed to IORedirector and is used for logging

Sorry, I misread it. I thought the 3rd argument passed was the prefix.

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

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


More information about the serviceability-dev mailing list