diff options
| author | 2014-06-25 16:04:55 +0700 | |
|---|---|---|
| committer | 2014-07-02 13:16:59 +0700 | |
| commit | 3a1444ccb92fb1b11d4943c3baa1f0a3abed4f10 (patch) | |
| tree | 0eba34d67a39959197877d5ce8924f935a1daaed /compiler/optimizing/code_generator.cc | |
| parent | 29978887552542e3b7e7792070dad06392377648 (diff) | |
ART: JNI ExceptionDescribe crashes if no exception occurred
Some tests are calling ExceptionDescribe without checking if
we have an exception occurred. The most JVM's like Dalvik can
handle this in a good way, but art crashes with JNI error.
This adds a check in art::ExceptionDescribe for a case when it
called without exception.
Change-Id: Id9eddcc73e78b1197109be5a6340f9ff60940c74
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions