summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qdistancefield_p.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-10 13:35:25 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-16 04:23:05 +0200
commit359df32300f5472f2fddbc83c3fe0851b5547ff6 (patch)
tree905e52db97d7dcc74b8a6d61fd8f9c8554563cde /src/gui/text/qdistancefield_p.h
parent8ba043cbaf38f9cddaa9d557c503ef4e3f5cbac3 (diff)
Android: don't call JNI_OnLoad for libraries opened with QLibraryHEADdev
JNI_OnLoad gets called automatically by the JVM when it loads a shared library. A native library that is loaded by native code shouldn't have it's JNI_OnLoad entry point function called, as that would indicate that the plugin is loaded by the JVM, which it is not. If framework or application code requires that function to be called (and wants to perform error handling, such as closing the library again if the function returns JNI_ERR), then that can and should be done explicitly. [ChangeLog][Android][QLibrary] Loading a shared library with QLibrary no longer implicily calls a JNI_OnLoad implementation. Fixes: QTBUG-92007 Pick-to: 6.7 Change-Id: I9aa71ec73b950029e0ae1be7d54e1c8576f356ab Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'src/gui/text/qdistancefield_p.h')
0 files changed, 0 insertions, 0 deletions