8187742: Minimal set of bootstrap methods for constant dynamic

Co-authored-by: Brian Goetz <brian.goetz@oracle.com>
Reviewed-by: jrose, forax
This commit is contained in:
Paul Sandoz 2018-01-31 11:20:36 -08:00
parent e55a05957d
commit 4b5ffe70d9
10 changed files with 656 additions and 56 deletions

View file

@ -310,7 +310,7 @@ class MethodHandleNatives {
MethodHandle bootstrapMethod,
String name, Class<?> type,
Object staticArguments) {
return DynamicConstant.makeConstant(bootstrapMethod, name, type, staticArguments, caller);
return ConstantBootstraps.makeConstant(bootstrapMethod, name, type, staticArguments, caller);
}
private static String staticArglistForTrace(Object staticArguments) {