Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 60) sorted by relevance

123

/art/test/201-built-in-except-detail-messages/src/
DMain.java58 } 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/
DMain.java39 } 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/542-inline-trycatch/src/
DMain.java42 } catch (NumberFormatException ex) { in $noinline$TryCatch()
52 } catch (NumberFormatException ex) { in testSingleBlockFromTry()
60 } catch (NumberFormatException ex) {} in testSingleBlockFromTry()
68 } catch (Exception ex) { in testSingleBlockFromCatch()
79 } catch (NumberFormatException ex) { in testMultipleBlocksFromTry()
86 } catch (NumberFormatException ex) { in testMultipleBlocksFromTry()
94 } catch (NumberFormatException ex) {} in testMultipleBlocksFromTry()
99 } catch (NumberFormatException ex) {} in testMultipleBlocksFromTry()
107 } catch (Exception ex) { in testMultipleBlocksFromCatch()
114 } catch (Exception ex) { in testMultipleBlocksFromCatch()
[all …]
/art/test/138-duplicate-classes-check2/
Dbuild23 mkdir classes-ex
24 ${JAVAC} -d classes-ex `find src-ex -name '*.java'`
25 rm classes-ex/A.class
32 jar cf classes-ex.jill.jar -C classes-ex .
33 ${JACK} --import classes-ex.jill.jar --output-dex .
34 zip ${TEST_NAME}-ex.jar classes.dex
38 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
39 zip ${TEST_NAME}-ex.jar classes.dex
/art/test/127-checker-secondarydex/
Dbuild23 mkdir classes-ex
24 mv classes/Super.class classes-ex
28 jar cf classes-ex.jill.jar -C classes-ex .
32 ${JACK} --import classes-ex.jill.jar --output-dex .
33 zip ${TEST_NAME}-ex.jar classes.dex
38 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
39 zip ${TEST_NAME}-ex.jar classes.dex
/art/test/091-override-package-private-method/
Dbuild23 mkdir classes-ex
24 mv classes/OverridePackagePrivateMethodSuper.class classes-ex
28 jar cf classes-ex.jill.jar -C classes-ex .
32 ${JACK} --import classes-ex.jill.jar --output-dex .
33 zip ${TEST_NAME}-ex.jar classes.dex
38 …${DX} -JXmx256m --debug --dex --dump-to=classes-ex.lst --output=classes.dex --dump-width=1000 clas…
39 zip ${TEST_NAME}-ex.jar classes.dex
/art/test/etc/
Ddefault-build72 if [ -d src-ex ]; then
334 mkdir classes-ex
336 …${JAVAC} ${JAVAC_ARGS} -implicit:none -sourcepath src -d classes-ex `find src-dex2oat-unresolved -…
339 jar cf classes-ex.jill.jar -C classes-ex .
341 ${JACK} --import classes-ex.jill.jar --output-dex .
342 zip ${TEST_NAME}-ex.jar classes.dex
346 make_dex classes-ex
347 mv classes-ex.dex classes.dex # rename it so it shows up as "classes.dex" in the zip file.
348 zip ${TEST_NAME}-ex.jar classes.dex
467 ${JACK}:src.jack ${JACK_ARGS} --output-dex . src-ex
[all …]
/art/test/003-omnibus-opcodes/src/
DThrow.java34 } 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/
DMain.java36 } 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/
DMain.java29 } catch (InvocationTargetException ex) { in main()
31 if (!(ex.getCause() instanceof ArrayIndexOutOfBoundsException)) { in main()
32 throw ex; in main()
/art/test/543-checker-dce-trycatch/src/
DMain.java29 } catch (Exception ex) { in doNotMergeThrow()
55 } catch (ArithmeticException ex) { in testDeadTryCatch()
57 } catch (ArrayIndexOutOfBoundsException ex) { in testDeadTryCatch()
/art/test/551-implicit-null-checks/src/
DMain.java29 } 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/586-checker-null-array-get/src/
DMain.java40 } 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/064-field-access/src/
DMain.java109 } catch (Exception ex) { in getValue()
112 + ex.getClass()); in getValue()
113 ex.printStackTrace(System.out); in getValue()
115 if (!expectedException.equals(ex.getClass())) { in getValue()
118 + ex.getClass()); in getValue()
119 ex.printStackTrace(System.out); in getValue()
683 } catch (Exception ex) { in getValue()
686 + ex.getClass()); in getValue()
687 ex.printStackTrace(System.out); in getValue()
689 if (!expectedException.equals(ex.getClass())) { in getValue()
[all …]
/art/test/424-checkcast/src/
DMain.java47 } catch (ClassCastException ex) {} in $opt$TestMain()
61 } catch (ClassCastException ex) {} in $opt$TestFinalClass()
67 } catch (ClassCastException ex) {} in $opt$TestFinalClass()
/art/test/593-checker-boolean-2-integral-conv/src/
DMain.java253 } catch (Exception ex) { in $noinline$runSmaliTest()
254 throw new Error(ex); in $noinline$runSmaliTest()
263 } catch (Exception ex) { in $noinline$runSmaliTest()
264 throw new Error(ex); in $noinline$runSmaliTest()
/art/test/164-resolution-trampoline-dex-cache/src/
DMain.java42 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/runtime/interpreter/mterp/x86/
DbinopWide2addr.S10 $instr1 # ex: addl %eax,(rFP,rINST,4)
11 $instr2 # ex: adcl %ecx,4(rFP,rINST,4)
DbinopWide.S10 $instr1 # ex: addl (rFP,%ecx,4),rIBASE
11 $instr2 # ex: adcl 4(rFP,%ecx,4),%eax
/art/runtime/interpreter/mterp/x86_64/
Dbinop1.S12 $instr # ex: addl %ecx,%eax
16 $instr # ex: addl %ecx,%eax
Dshop2addr.S12 $instr # ex: sarl %cl, %eax
16 $instr # ex: sarl %cl, %eax
/art/test/101-fibonacci/src/
DMain.java53 } catch (NumberFormatException ex) { in main()
54 System.out.println(ex); in main()
/art/test/155-java-set-resolved-type/src/
DMain.java68 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/593-checker-shift-and-simplifier/src/
DMain.java62 } catch (Exception ex) { in $noinline$runSmaliTest()
63 throw new Error(ex); in $noinline$runSmaliTest()
/art/test/633-checker-rtp-getclass/src/
DMain.java41 } catch (Exception ex) { in $noinline$runSmaliTest()
42 throw new Error(ex); in $noinline$runSmaliTest()

123