< prev index next >

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

Print this page

        

@@ -1,9 +1,9 @@
 /*
  * @test /nodynamiccopyright/
  * @summary Values may not extend
- * @modules java.base/jvm.internal.value
- * @compile/fail/ref=CheckExtends.out -XDrawDiagnostics -Werror  -Xlint:values CheckExtends.java
+ * @modules jdk.incubator.mvt
+ * @compile/fail/ref=CheckExtends.out --should-stop:ifError=PARSE -XDrawDiagnostics -Werror  -Xlint:values CheckExtends.java
  */
-@jvm.internal.value.ValueCapableClass
+@jdk.incubator.mvt.ValueCapableClass
 final class CheckExtends extends Object {
 }
< prev index next >