jdk/src/share/classes/java/lang/invoke/SpreadGeneric.java
changeset 9646 5ebbe5ab084f
parent 8822 8145ab9f5f86
child 9731 d0f7a3e441c4
--- a/jdk/src/share/classes/java/lang/invoke/SpreadGeneric.java	Thu May 12 19:27:33 2011 -0700
+++ b/jdk/src/share/classes/java/lang/invoke/SpreadGeneric.java	Thu May 12 19:27:49 2011 -0700
@@ -66,6 +66,10 @@
         this.entryPoint = ep[0];
     }
 
+    static {
+        assert(MethodHandleNatives.workaroundWithoutRicochetFrames());  // this class is deprecated
+    }
+
     /** From targetType remove the last spreadCount arguments, and instead
      *  append a simple Object argument.
      */