Skip to content

Commit 344a1f5

Browse files
committed
Backwards.
1 parent a75c4c0 commit 344a1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/IKVM.Runtime/Java/Externs/sun/reflect/ReflectionFactory.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ internal unsafe FastMethodAccessorImpl(RuntimeJavaMethod mw)
751751
il.Emit(OpCodes.Ldarg_2);
752752

753753
// static Java method is always a call
754-
if (s != null)
754+
if (s == null)
755755
mw.EmitCall(il);
756756
else
757757
mw.EmitCallvirtReflect(il); // reflection virt may be static (remapped) or non-static

0 commit comments

Comments
 (0)