From a61894d88fabe45677f491c9f6bde30059a49026 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Thu, 23 Apr 2015 16:32:54 -0700 Subject: 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 --- test/etc/run-test-jar | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/etc') diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar index 414e4df..8dd7573 100755 --- a/test/etc/run-test-jar +++ b/test/etc/run-test-jar @@ -225,7 +225,8 @@ if [ "$DEBUGGER" = "y" ]; then fi if [ "$USE_JVM" = "y" ]; then - ${JAVA} ${DEBUGGER_OPTS} ${JVM_VERIFY_ARG} -classpath classes $MAIN "$@" + # Xmx is necessary since we don't pass down the ART flags to JVM. + ${JAVA} ${DEBUGGER_OPTS} ${JVM_VERIFY_ARG} -Xmx256m -classpath classes $MAIN "$@" exit fi -- cgit v1.1