diff options
author | Dimitry Ivanov <dimitry@google.com> | 2016-02-23 14:25:50 -0800 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2016-02-25 14:57:55 -0800 |
commit | a55c7f15a3c386ec643f21eeb2f4e9fd7b03ba70 (patch) | |
tree | f29a3aa68837f17704a5d82214f01d71496d2061 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | ef417514e703c79b5d321fa483d36d479f55f3b3 (diff) |
Create linker-namespace for the classloader
With this change ApplicationLoaders.getClassLoader()
creates linker-namespace for the classloader at the
construction time. Before this change the namespace
was created on first load of a jni library.
With this change we ensure that every classloader
has initialized namespace associated with it.
As an additional advantage we now can avoid storing
namespace-specific fields in the classloaders.
Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I3b160bd478a55171008682c40b2ebc13bdbd9882
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions