We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75c4c0 commit 344a1f5Copy full SHA for 344a1f5
src/IKVM.Runtime/Java/Externs/sun/reflect/ReflectionFactory.cs
@@ -751,7 +751,7 @@ internal unsafe FastMethodAccessorImpl(RuntimeJavaMethod mw)
751
il.Emit(OpCodes.Ldarg_2);
752
753
// static Java method is always a call
754
- if (s != null)
+ if (s == null)
755
mw.EmitCall(il);
756
else
757
mw.EmitCallvirtReflect(il); // reflection virt may be static (remapped) or non-static
0 commit comments