Skip to content

Commit

Permalink
Backwards.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Jan 10, 2025
1 parent a75c4c0 commit 344a1f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ internal unsafe FastMethodAccessorImpl(RuntimeJavaMethod mw)
il.Emit(OpCodes.Ldarg_2);

// static Java method is always a call
if (s != null)
if (s == null)
mw.EmitCall(il);
else
mw.EmitCallvirtReflect(il); // reflection virt may be static (remapped) or non-static
Expand Down

0 comments on commit 344a1f5

Please sign in to comment.