--- old/test/hotspot/jtreg/runtime/ErrorHandling/NestedThreadsListHandleInErrorHandlingTest.java Tue Nov 21 15:20:56 2017 +++ new/test/hotspot/jtreg/runtime/ErrorHandling/NestedThreadsListHandleInErrorHandlingTest.java Tue Nov 21 15:20:55 2017 @@ -33,6 +33,7 @@ /* * @test + * @requires (vm.debug == true) * @bug 8167108 * @summary Nested ThreadsListHandle info should be in error handling output. * @modules java.base/jdk.internal.misc @@ -47,11 +48,7 @@ public class NestedThreadsListHandleInErrorHandlingTest { public static void main(String[] args) throws Exception { - if (!Platform.isDebugBuild()) { - // -XX:ErrorHandlerTest=N option requires debug bits. - return; - } - + // The -XX:ErrorHandlerTest=N option requires debug bits. ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( "-XX:+UnlockDiagnosticVMOptions", "-Xmx100M",