OSDN Git Service

Change test 136 to use dlopen
authorMathieu Chartier <mathieuc@google.com>
Thu, 5 May 2016 18:09:58 +0000 (11:09 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 10 May 2016 22:08:33 +0000 (15:08 -0700)
commitab9ca53e9e4812dd835a260da99d275cfbca3d48
tree02433b19cc215a2ed9fb8d32c43e2d110a0ddd85
parent769e7587429437c8292758dafde9d639cb4fb4bb
Change test 136 to use dlopen

dlopen self to prevent the native libary being closed from
DestroyJavaVM. We need this since it is the library currently
executing code.

Bug: 28406866

(cherry picked from commit 06fd2cff238cbdd8f6ceb4a85273c5a7fd0db023)

Change-Id: Ib23f09a97184abb69a142057b0ccb9d476f69c95
test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc