Native.register() fails on android with a null pointer exception in Native.getCallingClass(). It looks like the SecurityManager class on android only exists so people can try to call it and get null values (used to be functional, but functionality was removed at some point), so the call to SecurityManager.getClassContext() in getCallingClass() does just that.
I was a little surprised that I didn't see anything about this around here - did I miss something or am I more likely just doing something wrong, or has this not really come up before?
Native.register() fails on android with a null pointer exception in Native.getCallingClass(). It looks like the SecurityManager class on android only exists so people can try to call it and get null values (used to be functional, but functionality was removed at some point), so the call to SecurityManager.getClassContext() in getCallingClass() does just that.
I was a little surprised that I didn't see anything about this around here - did I miss something or am I more likely just doing something wrong, or has this not really come up before?