Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/ir/targets/Bootstrap.java
Original file line number Diff line number Diff line change
@@ -422,7 +422,7 @@ static MethodHandle buildNativeHandle(InvokeSite site, DynamicMethod method, boo
MethodHandle mh = null;
SmartBinder binder = null;

if (method instanceof NativeCallMethod) {
if (method instanceof NativeCallMethod && ((NativeCallMethod) method).getNativeCall() != null) {
NativeCallMethod nativeMethod = (NativeCallMethod)method;
DynamicMethod.NativeCall nativeCall = nativeMethod.getNativeCall();

0 comments on commit a373306

Please sign in to comment.