1 /* 2 * @test /nodynamiccopyright/ 3 * @summary Values may not extend 4 * @modules jdk.incubator.mvt 5 * @compile/fail/ref=CheckExtends.out --should-stop:ifError=PARSE -XDrawDiagnostics -Werror -Xlint:values CheckExtends.java 6 */ 7 @jdk.incubator.mvt.ValueCapableClass 8 final class CheckExtends extends Object { 9 }