Revert "Fiddle with 602-deoptimizable for adding debug info when it fails."
This reverts commit a42f4e68fe679d74f07fd31818c55c656aa43c48.
Reason for revert: fails on target.
Change-Id: Ib5119b5aecabe1105d4aab2f127138de3d19c8fc
diff --git a/test/602-deoptimizeable/src/Main.java b/test/602-deoptimizeable/src/Main.java
index f7ce32a..d995923 100644
--- a/test/602-deoptimizeable/src/Main.java
+++ b/test/602-deoptimizeable/src/Main.java
@@ -77,7 +77,7 @@
assertIsManaged(); // Only single frame is deoptimized.
if (res != 79) {
System.out.println("Failure 1!");
- System.exit(1);
+ System.exit(0);
}
}
});
@@ -96,7 +96,7 @@
assertIsManaged(); // Only single frame is deoptimized.
if (res != 79.3d) {
System.out.println("Failure 2!");
- System.exit(2);
+ System.exit(0);
}
} catch (Exception e) {
e.printStackTrace(System.out);
@@ -112,7 +112,7 @@
assertIsInterpreted(); // Every deoptimizeable method is deoptimized.
if (res != 0.034f) {
System.out.println("Failure 3!");
- System.exit(3);
+ System.exit(0);
}
}
});
@@ -136,11 +136,9 @@
if (!DummyObject.sHashCodeInvoked) {
System.out.println("hashCode() method not invoked!");
- System.exit(4);
}
if (map.get(new DummyObject(10)) != 100) {
System.out.println("Wrong hashmap value!");
- System.exit(5);
}
System.out.println("Finishing");
}
@@ -165,7 +163,6 @@
}
if (!caught) {
System.out.println("Expected exception");
- System.exit(6);
}
assertIsInterpreted();
return 79;
@@ -191,7 +188,6 @@
}
if (!caught) {
System.out.println("Expected exception");
- System.exit(7);
}
assertIsInterpreted();
return 79.3d;