summaryrefslogtreecommitdiffstats
path: root/test/003-omnibus-opcodes
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-06-25 10:26:40 -0700
committerAndreas Gampe <agampe@google.com>2015-06-25 12:51:37 -0700
commit6415013f0b9509fed8367871daaf66c6841223f1 (patch)
tree238e59acda393f860d36f3bf80e80a01b59a347a /test/003-omnibus-opcodes
parent005deb0a1683f9ee03a2cf2785dc6a7d7a8f16be (diff)
downloadart-6415013f0b9509fed8367871daaf66c6841223f1.tar.gz
art-6415013f0b9509fed8367871daaf66c6841223f1.tar.bz2
art-6415013f0b9509fed8367871daaf66c6841223f1.zip
ART: Reset runtime_throw_failure flag
The flag is instruction-specific. It transports the info from Fail to the main loop. It must be cleared after each iteration. Introduce a second flag to store whether we saw such a failure at all. Update test expectations. Bug: 22080519 (cherry picked from commit d12e782bcee03ecb6dec41aa9673ef53b638dcea) Change-Id: I32be914819946233babaa4cb7343844d97b61ba5
Diffstat (limited to 'test/003-omnibus-opcodes')
-rw-r--r--test/003-omnibus-opcodes/src/UnresTest2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/003-omnibus-opcodes/src/UnresTest2.java b/test/003-omnibus-opcodes/src/UnresTest2.java
index 4135d73f7c..d46b877dd8 100644
--- a/test/003-omnibus-opcodes/src/UnresTest2.java
+++ b/test/003-omnibus-opcodes/src/UnresTest2.java
@@ -41,7 +41,8 @@ class UnresTest2 {
new UnresClassSubclass();
Main.assertTrue(false);
} catch (NoClassDefFoundError ncdfe) {
- Main.assertTrue(ncdfe.getCause() instanceof ClassNotFoundException);
+ // TODO b/22080519
+ // Main.assertTrue(ncdfe.getCause() instanceof ClassNotFoundException);
// good
}
@@ -49,7 +50,6 @@ class UnresTest2 {
UnresClass[] uar = new UnresClass[3];
Main.assertTrue(false);
} catch (NoClassDefFoundError ncdfe) {
- Main.assertTrue(ncdfe.getCause() instanceof ClassNotFoundException);
// good
}