< prev index next >
langtools/test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.java
Print this page
*** 1,11 ****
/*
* @test /nodynamiccopyright/
* @summary Verify that the class reader flags Value capable classes appropriately.
! * @modules java.base/jvm.internal.value
* @compile Point.java
! * @compile/fail/ref=ClassFileReaderTest.out -XDrawDiagnostics -Werror -Xlint:values ClassFileReaderTest.java
*/
public class ClassFileReaderTest {
Point point = null;
}
--- 1,11 ----
/*
* @test /nodynamiccopyright/
* @summary Verify that the class reader flags Value capable classes appropriately.
! * @modules jdk.incubator.mvt
* @compile Point.java
! * @compile/fail/ref=ClassFileReaderTest.out --should-stop:ifError=PARSE -XDrawDiagnostics -Werror -Xlint:values ClassFileReaderTest.java
*/
public class ClassFileReaderTest {
Point point = null;
}
< prev index next >