jdk/src/java.base/share/classes/java/lang/invoke/MethodHandle.java
changeset 26466 3bbb6a284bd4
parent 25991 e48157b42439
child 26467 d69abed3a07d
--- a/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandle.java	Wed Sep 10 19:19:47 2014 +0400
+++ b/jdk/src/java.base/share/classes/java/lang/invoke/MethodHandle.java	Wed Sep 10 19:19:47 2014 +0400
@@ -28,7 +28,6 @@
 
 import java.util.*;
 import java.lang.invoke.LambdaForm.BasicType;
-import sun.invoke.util.*;
 import sun.misc.Unsafe;
 
 import static java.lang.invoke.MethodHandleStatics.*;
@@ -988,7 +987,7 @@
         MethodHandle target = this;
         if (arrayType != type().parameterType(collectArgPos))
             target = convertArguments(type().changeParameterType(collectArgPos, arrayType));
-        MethodHandle collector = ValueConversions.varargsArray(arrayType, arrayLength);
+        MethodHandle collector = MethodHandleImpl.varargsArray(arrayType, arrayLength);
         return MethodHandles.collectArguments(target, collectArgPos, collector);
     }