]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Add some notes about the JNI pointer-passing approach and convert a couple of potenti...
authorstephan <stephan@noemail.net>
Thu, 9 Nov 2023 12:48:54 +0000 (12:48 +0000)
committerstephan <stephan@noemail.net>
Thu, 9 Nov 2023 12:48:54 +0000 (12:48 +0000)
commitb9050dcec70bb0767b7ac8419700b16365c338c5
tree23d9b6316b37a630023405bfed137c82c5db0564
parentec427813ac5ac9857fbfa0073875cc940dc066d1
Add some notes about the JNI pointer-passing approach and convert a couple of potential NullPointerExceptions into appropriate C result codes. Clarify that invocation of undefined behaviour from the Java API does not (due to the addition of defensive code) mean the same thing as it does in C (e.g. no NULL pointer dereferences).

FossilOrigin-Name: 19c4778f45261006368b2d9460350fed1e55fed314c8b3e1af34cd8c3c73b7d8
ext/jni/src/c/sqlite3-jni.c
ext/jni/src/c/sqlite3-jni.h
ext/jni/src/org/sqlite/jni/annotation/NotNull.java
ext/jni/src/org/sqlite/jni/capi/CApi.java
manifest
manifest.uuid