summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2014-09-29 14:16:28 +0200
committerChristian Stromme <christian.stromme@digia.com>2014-10-17 14:58:23 +0200
commit3d94a564f4c439ca0d1c2a0af807b9edeeb39299 (patch)
tree51730fe5e775c09e90bf3d8ed955f6c112d8d348 /src/corelib/itemmodels
parentcf8f369f8575dcb9ca4d5116f3afc7cff4a080af (diff)
Android: Improve cache logic in findClass()
This change adds guards to ensure that we only do a class look-up once when calling QJNIEnvironmentPrivate::findClass(). IF someone calls findClass() with an environment that does not contain a "valid" class loader, we should fallback to loadClass(), but only once. Change-Id: If5fc82956db889f3269bb33c98a16c49cae55def Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
Diffstat (limited to 'src/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions