OSDN Git Service

Supply librarySearchPath to PathClassLoader
authorDimitry Ivanov <dimitry@google.com>
Thu, 28 Apr 2016 23:29:22 +0000 (16:29 -0700)
committerDimitry Ivanov <dimitry@google.com>
Thu, 28 Apr 2016 23:29:22 +0000 (16:29 -0700)
commit3a79b6389df39928823a7a8e862c2f647a1cd164
tree24d9bad289ff14556a5ab32ae519716fc40b5abb
parent85e47976a483844177eb486d6e501fa070fbe6e2
Supply librarySearchPath to PathClassLoader

PathClassLoader needs librarySearchPath in order to
be able to find native libraries.

The java.library.path property is no longer implicitly
applied to all basedexclassloaders, and needs to be
passed explicitly.

Bug: http://b/28449304
Change-Id: Id5b4273553d783c0f7a964f72ecb2c99f3aeaf6f
test/141-class-unload/src/Main.java