--- old/test/hotspot/jtreg/runtime/ErrorHandling/TestOnError.java 2020-04-29 12:08:04.000000000 -0700 +++ new/test/hotspot/jtreg/runtime/ErrorHandling/TestOnError.java 2020-04-29 12:08:03.000000000 -0700 @@ -28,7 +28,7 @@ * @modules java.base/jdk.internal.misc * @library /test/lib * @requires vm.debug - * @run main TestOnError + * @run driver TestOnError */ import jdk.test.lib.process.ProcessTools;