changeset 50927:f0212b293c0e jep-334

removing dead code: DynamicConstantDesc::resolveArgs
author vromero
date Fri, 01 Jun 2018 10:10:42 -0700
parents 07f2229cb09c
children 05169a7b9350
files src/java.base/share/classes/java/lang/invoke/constant/DynamicConstantDesc.java
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/invoke/constant/DynamicConstantDesc.java	Fri Jun 01 08:51:04 2018 -0700
+++ b/src/java.base/share/classes/java/lang/invoke/constant/DynamicConstantDesc.java	Fri Jun 01 10:10:42 2018 -0700
@@ -319,14 +319,6 @@
         return List.of(bootstrapArgs);
     }
 
-    private static Object[] resolveArgs(MethodHandles.Lookup lookup, ConstantDesc<?>[] args)
-            throws ReflectiveOperationException {
-        Object[] result = new Object[args.length];
-        for (int i = 0; i < args.length; i++)
-            result[i] = args[i].resolveConstantDesc(lookup);
-        return result;
-    }
-
     @SuppressWarnings("unchecked")
     public T resolveConstantDesc(MethodHandles.Lookup lookup) throws ReflectiveOperationException {
         // TODO replace with public supported method