nashorn/src/jdk/internal/dynalink/beans/StaticClassLinker.java
changeset 17247 607f6372b21b
parent 16277 fd698c5ee684
child 18841 9bbc4b8832b2
--- a/nashorn/src/jdk/internal/dynalink/beans/StaticClassLinker.java	Thu Apr 25 14:47:17 2013 +0200
+++ b/nashorn/src/jdk/internal/dynalink/beans/StaticClassLinker.java	Thu Apr 25 15:31:23 2013 +0200
@@ -144,7 +144,7 @@
         }
 
         private static MethodHandle drop(MethodHandle mh) {
-            return MethodHandles.dropArguments(mh, 0, StaticClass.class);
+            return StaticClassIntrospector.dropReceiver(mh, StaticClass.class);
         }
 
         @Override