/art/test/201-built-in-except-detail-messages/src/ |
D | Main.java | 58 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess() 59 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess() 66 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess() 67 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess() 74 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess() 75 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess() 82 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess() 83 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess() 90 } catch (ArrayIndexOutOfBoundsException ex) { in arrayAccess() 91 assertEquals("length=1; index=2", ex.getMessage()); in arrayAccess() [all …]
|
/art/test/042-new-instance/src/ |
D | Main.java | 39 } catch (Exception ex) { in testClassNewInstance() 41 ex.printStackTrace(System.out); in testClassNewInstance() 51 } catch (Exception ex) { in testClassNewInstance() 53 ex.printStackTrace(System.out); in testClassNewInstance() 63 } catch (Exception ex) { in testClassNewInstance() 79 } catch (Exception ex) { in testConstructorNewInstance() 81 ex.printStackTrace(System.out); in testConstructorNewInstance() 90 } catch (Exception ex) { in testConstructorNewInstance() 92 ex.printStackTrace(System.out); in testConstructorNewInstance() 101 } catch (Exception ex) { in testConstructorNewInstance() [all …]
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleBadCoordinateTests.java | 52 } catch (ClassCastException ex) { in doTest() 57 } catch (WrongMethodTypeException ex) { in doTest() 62 } catch (WrongMethodTypeException ex) { in doTest() 67 } catch (WrongMethodTypeException ex) { in doTest() 72 } catch (WrongMethodTypeException ex) { in doTest() 77 } catch (NullPointerException ex) { in doTest() 82 } catch (WrongMethodTypeException ex) { in doTest() 108 } catch (ArrayIndexOutOfBoundsException ex) { in doTest() 113 } catch (ArrayIndexOutOfBoundsException ex) { in doTest() 118 } catch (ArrayIndexOutOfBoundsException ex) { in doTest() [all …]
|
D | VarHandleTypeConversionTests.java | 128 } catch (NullPointerException ex) { in doTest() 156 } catch (NullPointerException ex) { in doTest() 183 } catch (NullPointerException ex) { in doTest() 212 } catch (NullPointerException ex) { in doTest() 240 } catch (NullPointerException ex) { in doTest() 269 } catch (NullPointerException ex) { in doTest() 298 } catch (NullPointerException ex) { in doTest() 329 } catch (NullPointerException ex) { in doTest() 357 } catch (WrongMethodTypeException ex) { in doTest() 362 } catch (WrongMethodTypeException ex) { in doTest() [all …]
|
D | VarHandleAccessorExceptionTests.java | 32 } catch (NullPointerException ex) { in doTest() 63 } catch (UnsupportedOperationException ex) { in doTest() 91 } catch (WrongMethodTypeException ex) { in doTest() 120 } catch (WrongMethodTypeException ex) { in doTest() 150 } catch (WrongMethodTypeException ex) { in doTest() 181 } catch (WrongMethodTypeException ex) { in doTest() 214 } catch (UnsupportedOperationException ex) { in doTest()
|
/art/test/542-inline-trycatch/src/ |
D | Main.java | 41 } catch (NumberFormatException ex) { in testSingleBlockFromTry() 49 } catch (NumberFormatException ex) {} in testSingleBlockFromTry() 57 } catch (Exception ex) { in testSingleBlockFromCatch() 68 } catch (NumberFormatException ex) { in testMultipleBlocksFromTry() 75 } catch (NumberFormatException ex) { in testMultipleBlocksFromTry() 83 } catch (NumberFormatException ex) {} in testMultipleBlocksFromTry() 88 } catch (NumberFormatException ex) {} in testMultipleBlocksFromTry() 96 } catch (Exception ex) { in testMultipleBlocksFromCatch() 103 } catch (Exception ex) { in testMultipleBlocksFromCatch()
|
/art/test/674-hiddenapi/src-ex/ |
D | Reflection.java | 29 } catch (NoSuchFieldException ex) { in canDiscoverWithGetDeclaredField() 47 } catch (NoSuchFieldException ex) { in canDiscoverWithGetField() 67 } catch (Exception ex) { in canGetField() 68 ex.printStackTrace(); in canGetField() 79 } catch (Exception ex) { in canSetField() 80 ex.printStackTrace(); in canSetField() 89 } catch (NoSuchMethodException ex) { in canDiscoverWithGetDeclaredMethod() 107 } catch (NoSuchMethodException ex) { in canDiscoverWithGetMethod() 127 } catch (Exception ex) { in canInvokeMethod() 128 ex.printStackTrace(); in canInvokeMethod() [all …]
|
/art/test/2000-virtual-list-structural/ |
D | generate-sources | 21 mv src-ex/java/util/AbstractCollection.java src-ex/java/util/AbstractCollection.bak 22 cp src-ex/java/util/AbstractCollection.bak src-ex/java/util/AbstractCollection.java 25 patch -s src-ex/java/util/AbstractCollection.java AbstractCollection.patch
|
/art/test/003-omnibus-opcodes/src/ |
D | Throw.java | 34 } catch (Exception ex) { in one() 96 } catch (Exception ex) { in rethrow() 97 if (ex instanceof ArithmeticException) { in rethrow() 100 if (ex instanceof NullPointerException) { in rethrow() 102 throw (NullPointerException) ex; in rethrow() 107 } catch (Exception ex) { in rethrow()
|
/art/test/092-locale/src/ |
D | Main.java | 36 } catch (Exception ex) { in main() 37 ex.printStackTrace(System.out); in main() 42 } catch (Exception ex) { in main() 43 ex.printStackTrace(System.out); in main() 48 } catch (Exception ex) { in main() 49 ex.printStackTrace(System.out); in main() 54 } catch (Exception ex) { in main() 55 ex.printStackTrace(System.out); in main() 60 } catch (Exception ex) { in main() 61 ex.printStackTrace(System.out); in main()
|
/art/test/541-regression-inlined-deopt/src/ |
D | Main.java | 25 } catch (InvocationTargetException ex) { in main() 27 if (!(ex.getCause() instanceof ArrayIndexOutOfBoundsException)) { in main() 28 throw ex; in main()
|
/art/test/543-checker-dce-trycatch/src/ |
D | Main.java | 25 } catch (Exception ex) { in doNotMergeThrow() 51 } catch (ArithmeticException ex) { in testDeadTryCatch() 53 } catch (ArrayIndexOutOfBoundsException ex) { in testDeadTryCatch()
|
/art/test/551-implicit-null-checks/src/ |
D | Main.java | 29 } catch (NullPointerException ex) { in main() 34 } catch (NullPointerException ex) { in main() 39 } catch (NullPointerException ex) { in main() 44 } catch (NullPointerException ex) { in main()
|
/art/test/2038-hiddenapi-jvmti-ext/src/ |
D | Main.java | 52 } catch (NoSuchMethodException ex) { in assertMethodNotHidden() 61 } catch (NoSuchFieldException ex) { in assertFieldNotHidden() 71 } catch (NoSuchMethodException ex) { in assertMethodIsHidden() 80 } catch (NoSuchFieldException ex) { in assertFieldIsHidden()
|
/art/test/2241-checker-inline-try-catch/src/ |
D | Main.java | 104 } catch (Exception ex) { in $noinline$testDoNotInlineInsideTryInlineInsideCatch() 118 } catch (Exception ex) { in $inline$testInlineInsideNestedCatches_inner() 127 } catch (Exception ex) { in $noinline$testInlineInsideNestedCatches() 144 } catch (Exception ex) { in $noinline$testBeforeAfterTryCatch() 244 } catch (NumberFormatException ex) { in $inline$ParseIntTryCatch() 261 } catch (Exception ex) { in $inline$testThrowCaughtInOuterMethod_simpleTryCatch() 275 } catch (Exception ex) { in $inline$testThrowCaughtInOuterMethod_simpleTryCatch_inliningInner() 289 } catch (Exception ex) { in $inline$testThrowCaughtInOuterMethod_withFinally()
|
/art/test/064-field-access/src/ |
D | Main.java | 113 } catch (Exception ex) { in getValue() 116 + ex.getClass()); in getValue() 117 ex.printStackTrace(System.out); in getValue() 119 if (!expectedException.equals(ex.getClass())) { in getValue() 122 + ex.getClass()); in getValue() 123 ex.printStackTrace(System.out); in getValue() 691 } catch (Exception ex) { in getValue() 694 + ex.getClass()); in getValue() 695 ex.printStackTrace(System.out); in getValue() 697 if (!expectedException.equals(ex.getClass())) { in getValue() [all …]
|
/art/test/586-checker-null-array-get/src/ |
D | Main.java | 40 } catch (InvocationTargetException ex) { in $noinline$runSmaliTest() 41 throw ex.getCause(); // re-raise expected exception. in $noinline$runSmaliTest() 42 } catch (Exception ex) { in $noinline$runSmaliTest() 43 throw new Error(ex); in $noinline$runSmaliTest()
|
/art/test/593-checker-boolean-2-integral-conv/src/ |
D | Main.java | 179 } catch (Exception ex) { in $noinline$runSmaliTest() 180 throw new Error(ex); in $noinline$runSmaliTest() 189 } catch (Exception ex) { in $noinline$runSmaliTest() 190 throw new Error(ex); in $noinline$runSmaliTest()
|
/art/test/424-checkcast/src/ |
D | Main.java | 47 } catch (ClassCastException ex) {} in $opt$TestMain() 61 } catch (ClassCastException ex) {} in $opt$TestFinalClass() 67 } catch (ClassCastException ex) {} in $opt$TestFinalClass()
|
/art/test/127-checker-secondarydex/ |
D | javac_post.sh | 19 mkdir classes-ex 20 mv classes/Super.class classes-ex
|
/art/test/091-override-package-private-method/ |
D | javac_post.sh | 19 mkdir -p classes-ex 20 mv classes/OverridePackagePrivateMethodSuper.class classes-ex
|
/art/test/164-resolution-trampoline-dex-cache/src/ |
D | Main.java | 42 public static ClassLoader getClassLoaderFor(String location, ClassLoader parent, boolean ex) in getClassLoaderFor() argument 48 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor() 52 String url = "file://" + location + (ex ? "/classes-ex/" : "/classes/"); in getClassLoaderFor()
|
/art/test/101-fibonacci/src/ |
D | Main.java | 53 } catch (NumberFormatException ex) { in main() 54 System.out.println(ex); in main()
|
/art/test/155-java-set-resolved-type/src/ |
D | Main.java | 68 public static ClassLoader getClassLoaderFor(String location, ClassLoader parent, boolean ex) in getClassLoaderFor() argument 75 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor() 79 String url = "file://" + location + (ex ? "/classes-ex/" : "/classes/"); in getClassLoaderFor()
|
/art/test/563-checker-fakestring/src/ |
D | Main.java | 64 } catch (InvocationTargetException ex) { in main() 65 if (ex.getCause() instanceof ArrayIndexOutOfBoundsException) { in main() 68 throw ex.getCause(); in main() 128 } catch (InvocationTargetException ex) { in main() 129 if (ex.getCause() instanceof ArrayIndexOutOfBoundsException) { in main() 132 throw ex.getCause(); in main()
|