Skip to content

Commit 5c32ac6

Browse files
committed
fix index issue
1 parent c30a2ee commit 5c32ac6

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src-java/node/CastingUtils.class

0 Bytes
Binary file not shown.

src-java/node/CastingUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public static void cast(Method method, Object[] args) throws Throwable {
99
throw new Exception("Method argument length mismatch. Expecting " + methodParameterTypes.length + " found " + args.length);
1010
}
1111
for (int i = 0; i < methodParameterTypes.length; i++) {
12-
args[i] = cast(args[i], methodParameterTypes[0]);
12+
args[i] = cast(args[i], methodParameterTypes[i]);
1313
}
1414
}
1515

0 commit comments

Comments
 (0)