< prev index next >

test/jdk/valhalla/valuetypes/MethodHandleTest.java

Print this page
rev 52850 : imported patch method-var-handles

@@ -92,13 +92,11 @@
         test.setValueField("nfp", mv, p);
         test.setValueField("l", mv, l);
         test.setValueField("l", mv, l);
         test.setValueField("staticPoint", null, p);
         test.setValueField("staticLine", null, l);
-        // remove the following cases when javac and jvm make
-        // static value fields be flattenable
-        test.setValueField("staticPoint", null, null);
+        // staticLine is a nullable field
         test.setValueField("staticLine", null, null);
     }
 
     @Test
     public static void testArrayElementSetterAndGetter() throws Throwable {
< prev index next >