< prev index next > test/jdk/java/lang/reflect/records/IsRecordTest.java
Print this page
* questions.
*/
/*
* @test
! * @bug 8255560
* @summary Class::isRecord should check that the current class is final and not abstract
* @library /test/lib
* @run testng/othervm IsRecordTest
*/
import java.lang.classfile.ClassFile;
import java.lang.constant.ClassDesc;
import java.lang.reflect.AccessFlag;
* questions.
*/
/*
* @test
! * @bug 8255560 8326879
* @summary Class::isRecord should check that the current class is final and not abstract
* @library /test/lib
* @run testng/othervm IsRecordTest
+ * @run testng/othervm --enable-preview IsRecordTest
*/
import java.lang.classfile.ClassFile;
import java.lang.constant.ClassDesc;
import java.lang.reflect.AccessFlag;
< prev index next >