diff --git a/jnius/jnius_conversion.pxi b/jnius/jnius_conversion.pxi index 4a06326..1828153 100644 --- a/jnius/jnius_conversion.pxi +++ b/jnius/jnius_conversion.pxi @@ -52,8 +52,6 @@ cdef void populate_args(JNIEnv *j_env, list definition_args, jvalue *j_args, arg elif isinstance(py_arg, JavaObject): jo = py_arg j_args[index].l = jo.obj - raise JavaException('JavaObject needed for argument ' - '{0}'.format(index)) else: raise JavaException('Invalid python object for this ' 'argument. Want {0!r}, got {1!r}'.format(