< prev index next >

langtools/test/tools/javac/valhalla/minimalvalues/ClassFileReaderTest.java

Print this page


   1 /*
   2  * @test /nodynamiccopyright/
   3  * @summary Verify that the class reader flags Value capable classes appropriately.
   4  * @modules java.base/jvm.internal.value
   5  * @compile Point.java
   6  * @compile/fail/ref=ClassFileReaderTest.out -XDrawDiagnostics -Werror -Xlint:values  ClassFileReaderTest.java
   7  */
   8 
   9 public class ClassFileReaderTest {
  10     Point point = null;
  11 }
   1 /*
   2  * @test /nodynamiccopyright/
   3  * @summary Verify that the class reader flags Value capable classes appropriately.
   4  * @modules jdk.incubator.mvt
   5  * @compile Point.java
   6  * @compile/fail/ref=ClassFileReaderTest.out -XDrawDiagnostics -Werror -Xlint:values  ClassFileReaderTest.java
   7  */
   8 
   9 public class ClassFileReaderTest {
  10     Point point = null;
  11 }
< prev index next >