Skip to content

Commit

Permalink
8191360: Lookup of critical JNI method causes duplicate library loadi…
Browse files Browse the repository at this point in the history
…ng with leaking handler

Summary: Unload shared library after lookup to avoid keeping it live.
Reviewed-by: vlivanov, dholmes
  • Loading branch information
thartmann committed Dec 5, 2017
1 parent 07e1e57 commit da8f42f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/*
* @test
* @bug 8164512
* @bug 8164512 8191360
* @summary verify if the native library is unloaded when the class loader is GC'ed
* @build p.Test
* @run main/othervm/native -Xcheck:jni NativeLibraryTest
Expand Down

0 comments on commit da8f42f

Please sign in to comment.