RFR(S): JDK-8244973: serviceability/attach/RemovingUnixDomainSocketTest.java fails "stderr was not empty"

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Thu May 14 03:12:39 UTC 2020


Hi Alex,

The fix looks good.

Thanks,
Serguei

On 5/13/20 19:20, Alex Menkov wrote:
> Hi all,
>
> please review tiny (and I suppose trivial) fix for
> https://bugs.openjdk.java.net/browse/JDK-8244973
> webrev:
> http://cr.openjdk.java.net/~amenkov/jdk15/RemovingUnixDomainSocket_merge/webrev/ 
>
>
> This bug is a result of bad merge:
> base:
>         out.stderrShouldBeEmpty();
>
> fix for JDK-8242009:
> -        out.stderrShouldBeEmpty();
> +        out.stderrShouldBeEmptyIgnoreVMWarnings();
>
> fix for JDK-8235211:
> -        out.stderrShouldBeEmpty();
> +        out.shouldHaveExitValue(0)
> +                .stderrShouldBeEmpty();
>
> Test run is in progress.
>
> --alex



More information about the serviceability-dev mailing list