summaryrefslogtreecommitdiffstats
path: root/runtime/well_known_classes.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-04-23 16:32:54 -0700
committerMathieu Chartier <mathieuc@google.com>2015-04-23 17:21:26 -0700
commita61894d88fabe45677f491c9f6bde30059a49026 (patch)
treeb9d8b09e5f90792867b6720a1fb4ab5c76cdfa5f /runtime/well_known_classes.h
parent4ceed922d44b68c3fa7cbe670014c9e2e003b92b (diff)
downloadart-a61894d88fabe45677f491c9f6bde30059a49026.zip
art-a61894d88fabe45677f491c9f6bde30059a49026.tar.gz
art-a61894d88fabe45677f491c9f6bde30059a49026.tar.bz2
Fix reflection handling and test flakiness
Fixed reflection invoke to handle exceptions which occur from FindClass or NewObject by throwing these instead of the expected InvocationTargetException. Added test case to 080 for this reflection invoke. Fixed println throwing OOM in 104-growth-limit. Change-Id: I65766e7c3478e299da06fdc3a521fe3f3e8fdba9
Diffstat (limited to 'runtime/well_known_classes.h')
-rw-r--r--runtime/well_known_classes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/well_known_classes.h b/runtime/well_known_classes.h
index 2df1c0e..cef9d55 100644
--- a/runtime/well_known_classes.h
+++ b/runtime/well_known_classes.h
@@ -50,6 +50,7 @@ struct WellKnownClasses {
static jclass java_lang_Daemons;
static jclass java_lang_Error;
static jclass java_lang_Object;
+ static jclass java_lang_OutOfMemoryError;
static jclass java_lang_reflect_AbstractMethod;
static jclass java_lang_reflect_ArtMethod;
static jclass java_lang_reflect_Constructor;