Closed DrChainsaw closed 3 years ago
I can verify jnull
is missing.
My recommended workaround is:
julia> julia> Base.convert(o::Type{JavaObject{T}}, ::Nothing) where T = o(JavaCall.J_NULL)
julia> jcall(jlist(), "add", jboolean, (JObject,), nothing)
0x01
For more general backwards compatibility with earlier versions of JavaCall use:
jcall(jlist(), "add", jboolean, (JObject,), JObject(C_NULL))
Awesome! Thanks alot.
This seems to work as a workaround, but its probably not the right way: