8286390: Address possibly lossy conversions in jdk.incubator.foreign moved to java.base
Reviewed-by: dfuchs
This commit is contained in:
parent
22139c35c4
commit
743c779712
@ -212,7 +212,7 @@ public class ProgrammableInvoker {
|
||||
|
||||
for (int i = 0; i < highLevelType.parameterCount(); i++) {
|
||||
List<Binding> bindings = callingSequence.argumentBindings(i);
|
||||
argInsertPos += bindings.stream().filter(Binding.VMStore.class::isInstance).count() + 1;
|
||||
argInsertPos += ((int) bindings.stream().filter(Binding.VMStore.class::isInstance).count()) + 1;
|
||||
// We interpret the bindings in reverse since we have to construct a MethodHandle from the bottom up
|
||||
for (int j = bindings.size() - 1; j >= 0; j--) {
|
||||
Binding binding = bindings.get(j);
|
||||
|
Loading…
x
Reference in New Issue
Block a user