@@ -85,10 +85,10 @@ public static void subcallResolve(Lookup caller, MutableCallSite cs, String name
85
85
case CallSiteDescriptor .ARG_OBJ :
86
86
throwee .payload = (SixModelObject )args [0 ];
87
87
try {
88
- cs .setTarget (caller
89
- .findStatic (IndyBootstrap .class , "lexotic_o" ,
90
- MethodType .methodType (long .class , ThreadContext .class , SixModelObject .class ))
91
- . bindTo ( throwee .target ));
88
+ cs .setTarget (MethodHandles . insertArguments (
89
+ caller .findStatic (IndyBootstrap .class , "lexotic_o" ,
90
+ MethodType .methodType (void . class , long .class , ThreadContext .class , SixModelObject .class )),
91
+ 0 , throwee .target ));
92
92
}
93
93
catch (Exception e ) {
94
94
throw new RuntimeException (e );
@@ -100,7 +100,8 @@ public static void subcallResolve(Lookup caller, MutableCallSite cs, String name
100
100
try {
101
101
cs .setTarget (MethodHandles .insertArguments (
102
102
caller .findStatic (IndyBootstrap .class , "lexotic_i" ,
103
- MethodType .methodType (long .class , ThreadContext .class , long .class )),
103
+ MethodType .methodType (void .class , long .class ,
104
+ SixModelObject .class , ThreadContext .class , long .class )),
104
105
0 , throwee .target , intBoxType ));
105
106
}
106
107
catch (Exception e ) {
@@ -113,7 +114,8 @@ public static void subcallResolve(Lookup caller, MutableCallSite cs, String name
113
114
try {
114
115
cs .setTarget (MethodHandles .insertArguments (
115
116
caller .findStatic (IndyBootstrap .class , "lexotic_n" ,
116
- MethodType .methodType (long .class , ThreadContext .class , double .class )),
117
+ MethodType .methodType (void .class , long .class ,
118
+ SixModelObject .class , ThreadContext .class , double .class )),
117
119
0 , throwee .target , numBoxType ));
118
120
}
119
121
catch (Exception e ) {
@@ -126,7 +128,8 @@ public static void subcallResolve(Lookup caller, MutableCallSite cs, String name
126
128
try {
127
129
cs .setTarget (MethodHandles .insertArguments (
128
130
caller .findStatic (IndyBootstrap .class , "lexotic_s" ,
129
- MethodType .methodType (long .class , ThreadContext .class , String .class )),
131
+ MethodType .methodType (void .class , long .class ,
132
+ SixModelObject .class , ThreadContext .class , String .class )),
130
133
0 , throwee .target , strBoxType ));
131
134
}
132
135
catch (Exception e ) {
0 commit comments