Skip to content

Commit

Permalink
Fix wrong arrays sort
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 authored and kindlich committed May 28, 2024
1 parent b1c4b3b commit f16fbf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1330,7 +1330,7 @@ public Void specialStaticMethod(JavaSpecialMethod method, CallArguments args) {
javaWriter.dup();

// Todo: Primitive method overloads if primitive Array!
final JavaNativeMethod sort = JavaNativeMethod.getNativeExpansion(JavaClass.ARRAYS, "sort", "([Ljava/lang/Object;)[Ljava/lang/Object;");
final JavaNativeMethod sort = JavaNativeMethod.getNativeExpansion(JavaClass.ARRAYS, "sort", "([Ljava/lang/Object;)V");
javaWriter.invokeStatic(sort);
break;
}
Expand Down

0 comments on commit f16fbf1

Please sign in to comment.