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

Print this page

        

@@ -2,8 +2,8 @@
  * @test /nodynamiccopyright/
  * @summary Values may not extend
  * @modules java.base/jvm.internal.value
  * @compile/fail/ref=CheckExtends.out -XDrawDiagnostics -Werror  -Xlint:values CheckExtends.java
  */
-@jvm.internal.value.DeriveValueType
+@jvm.internal.value.ValueCapableClass
 final class CheckExtends extends Object {
 }