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

Print this page

        

@@ -6,13 +6,13 @@
  */
 
 /* Note: ATM, value types do not have jlO in their lineage. So they anyway
    cannot synchronize using the methods declared on jlO.
 */
-@jvm.internal.value.DeriveValueType
+@jvm.internal.value.ValueCapableClass
 public final class CheckSync {
-    @jvm.internal.value.DeriveValueType
+    @jvm.internal.value.ValueCapableClass
     final class Val {
 
         void foo() {
             // All calls below are bad.
             wait();