diff options
author | Andreas Gampe <agampe@google.com> | 2019-04-26 08:51:50 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2019-04-26 08:55:53 -0700 |
commit | b9df7d936c7dfd1741b56e722065a46ac1e50607 (patch) | |
tree | c2168becb02f89209ae2f6c3005b7ae9ff9bc1d7 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 67231474feb04fd7d427333f3b1daa3da8562ed7 (diff) |
Nativeloader: Restrict anonymous namespace creation
Create the anonymous namespace only from a non-empty library path.
This is a better heuristic than the current "first-come" one. It
allows creating classloaders that are not directly related to an
app's "main" classloader, that is, do not have any library path.
This is the case, for example, for shared libraries, including
preloaded ones.
Longer-term, the anonymous namespace creation should be made
explicit, so that the framework can have full control.
Bug: 130623656
Test: m
Test: manual
Change-Id: I8251363b372e365d10ae09d23df93d76388ac7f9
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions