OSDN Git Service

Avoid JNI call with pending OOME.
authorIan Rogers <irogers@google.com>
Wed, 19 Nov 2014 22:05:21 +0000 (14:05 -0800)
committerIan Rogers <irogers@google.com>
Wed, 19 Nov 2014 22:05:21 +0000 (14:05 -0800)
commit3242729362b74d22f11d8bc7b4800ba0a8695df6
treee3ac6dbb1d4f1f6295ed4a856473c6f92c88be22
parent834896de1c955c04d781d2bf8c53573f94ce8c3e
Avoid JNI call with pending OOME.

If EnsureResolved fails with an exception then FindClassInPathClassLoader may
fall-through to a call to NewStringUTF with a pending exception.
Bug: 15446488

Change-Id: I007f7bee7c50aa588d0b1c776da67a38314dc897
runtime/class_linker.cc
runtime/class_linker.h