RFR 8072908: 8072908: com/sun/management/OperatingSystemMXBean/TestTotalSwap.sh fails on OS X with exit code 2

Jaroslav Bachorik jaroslav.bachorik at oracle.com
Thu Feb 12 14:23:13 UTC 2015


On 12.2.2015 15:16, Jaroslav Bachorik wrote:
> Please, review the following test change
>
> Issue : https://bugs.openjdk.java.net/rest/api/latest/issue/JDK-8072908

Should be https://bugs.openjdk.java.net/browse/JDK-8072908

> Webrev: http://cr.openjdk.java.net/~jbachorik/8072908/webrev.00
>
> The existing shell test fails for MacOS when there is no swap configured
> due to the pattern processing problem.
>
> This patch converts the shell test to a plain Java one and makes sure
> the test does not break for zero size swap on MacOS (or any other OS for
> that matter)
>
> Thanks,
>
> -JB-



More information about the serviceability-dev mailing list