Handle JNI_ERR results from JNI_OnLoad functions specially.

Change-Id: I3042f87493361d8eddab8aeebb92c6252e999425
(cherry picked from commit 7935372ab784477db452d11112cd60d26be87093)
1 file changed