diff options
author | Christian Strømme <christian.stromme@digia.com> | 2014-09-29 14:16:28 +0200 |
---|---|---|
committer | Christian Stromme <christian.stromme@digia.com> | 2014-10-17 14:58:23 +0200 |
commit | 3d94a564f4c439ca0d1c2a0af807b9edeeb39299 (patch) | |
tree | 51730fe5e775c09e90bf3d8ed955f6c112d8d348 /src/platformsupport | |
parent | cf8f369f8575dcb9ca4d5116f3afc7cff4a080af (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/platformsupport')
0 files changed, 0 insertions, 0 deletions