--- old/test/hotspot/jtreg/runtime/records/ignoreRecordAttribute.java 2020-04-29 12:11:12.000000000 -0700 +++ new/test/hotspot/jtreg/runtime/records/ignoreRecordAttribute.java 2020-04-29 12:11:11.000000000 -0700 @@ -22,12 +22,12 @@ */ /* -* @test -* @summary test logging of reasons for ignoring Record attribute -* @library /test/lib -* @compile superNotJLRecord.jcod recordIgnoredVersion.jcod -* @run main/othervm --enable-preview ignoreRecordAttribute -*/ + * @test + * @summary test logging of reasons for ignoring Record attribute + * @library /test/lib + * @compile superNotJLRecord.jcod recordIgnoredVersion.jcod + * @run driver ignoreRecordAttribute + */ import jdk.test.lib.process.ProcessTools; import jdk.test.lib.process.OutputAnalyzer;