Prevent jni class pointer types from being dereferenced except in the case of implicit or explicit conversion
Matthewacon opened this issue · comments
Right now the conversion operators for all JNI classes allow union_cast
ing to their fake-jni
equivalents, however they do not explicit disallow dereferencing without conversion. This behaviour should be disallowed to prevent UB.