It seems that luajava.createProxy() does not create the appropriate object.hashCode() method - or it is wrong. Either way, calling hashCode() in a Dalvik VM was resulting in an NPE:
java.lang.NullPointerException: null result when primitive expected at $Proxy2.hashCode(Native Method)
This can be worked around by implementing hashCode() function in the table that you pass to createProxy.
edti: same is with the case of equals()
Is this by design?
It seems that luajava.createProxy() does not create the appropriate object.hashCode() method - or it is wrong. Either way, calling hashCode() in a Dalvik VM was resulting in an NPE:
java.lang.NullPointerException: null result when primitive expected at $Proxy2.hashCode(Native Method)
This can be worked around by implementing hashCode() function in the table that you pass to createProxy.
edti: same is with the case of equals()
Is this by design?