Skip to content

Commit

Permalink
Fix wrong arrays sort
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredlll08 committed May 17, 2024
1 parent f63b255 commit e643a46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3565,7 +3565,7 @@ public Void sorted(Expression value) {
javaWriter.dup();

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

0 comments on commit e643a46

Please sign in to comment.