diff --git a/test/jdk/java/lang/management/ManagementFactory/MXBeanException.java b/test/jdk/java/lang/management/ManagementFactory/MXBeanException.java index 6e9d15263871f..1788a1c0b2a27 100644 --- a/test/jdk/java/lang/management/ManagementFactory/MXBeanException.java +++ b/test/jdk/java/lang/management/ManagementFactory/MXBeanException.java @@ -27,7 +27,7 @@ * @summary Check if a RuntimeException is wrapped by RuntimeMBeanException * only once. * - * @requires vm.gc != "Z" + * @requires vm.gc != "Z" & vm.gc != "Shenandoah" * @author Mandy Chung * * @build MXBeanException