< prev index next >

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

Print this page

        

@@ -1,12 +1,12 @@
 /*
  * @test /nodynamiccopyright/
  * @summary Value types do not support identityHashCode
- * @modules java.base/jvm.internal.value
- * @compile/fail/ref=CheckIdentityHash.out -XDrawDiagnostics -Werror -Xlint:values  CheckIdentityHash.java
+ * @modules jdk.incubator.mvt
+ * @compile/fail/ref=CheckIdentityHash.out --should-stop:ifError=PARSE -XDrawDiagnostics -Werror -Xlint:values  CheckIdentityHash.java
  */
-@jvm.internal.value.ValueCapableClass
+@jdk.incubator.mvt.ValueCapableClass
 final class CheckIdentityHash {
     int identityHashCode(CheckIdentityHash x) {
         return 0;
     }
     void test(CheckIdentityHash v) {
< prev index next >