/art/test/605-new-string-from-bytes/src/ |
D | Main.java | 34 } catch (InvocationTargetException e) { in main() 35 if (e.getCause() instanceof OutOfMemoryError) { in main() 38 throw e; in main() 40 } catch (OutOfMemoryError e) { in main()
|
/art/test/495-checker-checkcast-tests/src/ |
D | Main.java | 147 } catch (ClassCastException e) {} in main() 161 } catch (ClassCastException e) {} in main() 171 } catch (ClassCastException e) {} in main() 179 } catch (ClassCastException e) {} in main() 185 } catch (ClassCastException e) {} in main() 199 } catch (ClassCastException e) {} in main() 209 } catch (ClassCastException e) {} in main() 217 } catch (ClassCastException e) {} in main()
|
/art/test/952-invoke-custom/src/ |
D | Main.java | 28 } catch (IllegalStateException e) { in TestUninitializedCallSite() 36 } catch (IllegalStateException e) { in TestUninitializedCallSite() 69 } catch (BootstrapMethodError e) { in TestLinkerMethodMinimalArguments() 70 assertEquals(e.getCause().getClass(), ClassCastException.class); in TestLinkerMethodMinimalArguments() 77 } catch (BootstrapMethodError e) { in TestLinkerMethodMinimalArguments() 78 assertEquals(e.getCause().getClass(), InstantiationException.class); in TestLinkerMethodMinimalArguments() 85 } catch (ArithmeticException e) { in TestLinkerMethodMinimalArguments()
|
/art/test/151-OpenFileLimit/src/ |
D | Main.java | 37 } catch (Throwable e) { in main() 38 if (e.getMessage().contains("Too many open files")) { in main() 42 e.printStackTrace(); in main() 55 } catch (Throwable e) { in main() 56 System.out.println(e.getMessage()); in main() 72 } catch (IOException e) { in createTempFile()
|
/art/test/536-checker-needs-access-check/src/ |
D | Main.java | 24 } catch (IllegalAccessError e) { in main() 30 } catch (IllegalAccessError e) { in main() 36 } catch (IllegalAccessError e) { in main() 42 } catch (IllegalAccessError e) { in main()
|
/art/test/1932-monitor-events-misc/src/art/ |
D | Test1932.java | 124 } catch (Exception e) { in testNativeLockStateThrowEnter() 125 throw new Monitors.TestException("Exception unlocking monitor in MonitorEnter " + l, e); in testNativeLockStateThrowEnter() 136 } catch (Throwable e) { in testNativeLockStateThrowEnter() 137 System.out.println("Unhandled exception: " + e); in testNativeLockStateThrowEnter() 138 e.printStackTrace(); in testNativeLockStateThrowEnter() 152 } catch (Exception e) { in testNativeLockStateThrowEntered() 153 throw new Monitors.TestException("Exception unlocking monitor in MonitorEnter " + l, e); in testNativeLockStateThrowEntered() 166 } catch (Throwable e) { in testNativeLockStateThrowEntered() 167 System.out.println("Unhandled exception: " + e); in testNativeLockStateThrowEntered() 168 e.printStackTrace(); in testNativeLockStateThrowEntered() [all …]
|
/art/test/967-default-ame/src/ |
D | Main.java | 34 } catch (AbstractMethodError e) { in callMain() 36 } catch (IncompatibleClassChangeError e) { in callMain() 50 } catch (AbstractMethodError e) { in callIface() 52 } catch (IncompatibleClassChangeError e) { in callIface() 64 } catch (AbstractMethodError e) { in callIface2() 66 } catch (IncompatibleClassChangeError e) { in callIface2()
|
/art/test/421-exceptions/src/ |
D | Main.java | 21 } catch (NullPointerException e) { in $opt$bar() 23 } catch (RuntimeException e) { in $opt$bar() 50 } catch (RuntimeException e) { in $opt$runTest() 51 System.out.println("Caught " + e.getClass()); in $opt$runTest()
|
/art/test/1904-double-suspend/src/art/ |
D | Test1904.java | 39 } catch (Exception e) { in waitFor() 40 System.out.println("Unexpected error: " + e); in waitFor() 41 e.printStackTrace(); in waitFor() 79 } catch (Exception e) { in run() 80 System.out.println("Got exception " + e.getMessage()); in run()
|
/art/test/ExceptionHandle/ |
D | ExceptionHandle.java | 23 } catch (IOException e) { in f() 25 } catch (Exception e) { in f() 30 } catch (IOException e) { in f()
|
/art/test/142-classloader2/src/ |
D | Main.java | 31 } catch (Exception e) { in createClassLoader() 33 throw new RuntimeException(e); in createClassLoader() 80 } catch (VerifyError e) { in main() 90 } catch (NoClassDefFoundError e) { in main() 91 if (e.getCause() instanceof VerifyError) { in main() 94 e.printStackTrace(System.out); in main()
|
/art/test/617-clinit-oome/src/ |
D | Main.java | 24 } catch (OutOfMemoryError e) { in exhaustJavaHeap() 52 } catch (OutOfMemoryError e) { in main() 53 } catch (Exception e) { in main() 54 System.out.println(e); in main()
|
/art/test/518-null-array-get/src/ |
D | Main.java | 44 } catch (InvocationTargetException e) { in checkLoad() 45 if (!(e.getCause() instanceof NullPointerException)) { in checkLoad() 50 } catch (VerifyError e) { in checkLoad() 52 throw new RuntimeException(e); in checkLoad()
|
/art/test/124-missing-classes/src/ |
D | Main.java | 36 } catch (NoClassDefFoundError e) { in testMissingFieldType() 51 } catch (NoClassDefFoundError e) { in testMissingMethodReturnType() 64 } catch (NoClassDefFoundError e) { in testMissingMethodParameterType() 76 } catch (NoClassDefFoundError e) { in testMissingInnerClass()
|
/art/test/966-default-conflict/src/ |
D | Main.java | 41 } catch (AbstractMethodError e) { in callMain() 43 } catch (IncompatibleClassChangeError e) { in callMain() 57 } catch (AbstractMethodError e) { in callIface() 59 } catch (IncompatibleClassChangeError e) { in callIface() 71 } catch (AbstractMethodError e) { in callIface2() 73 } catch (IncompatibleClassChangeError e) { in callIface2()
|
/art/tools/dexfuzz/src/dexfuzz/listeners/ |
D | LogFileListener.java | 60 } catch (IOException e) { in setup() 61 e.printStackTrace(); in setup() 69 } catch (IOException e) { in shutdown() 70 e.printStackTrace(); in shutdown() 81 } catch (IOException e) { in write() 82 e.printStackTrace(); in write() 145 } catch (IOException e) { in handleDivergences() 146 e.printStackTrace(); in handleDivergences() 162 } catch (IOException e) { in handleSeed() 163 e.printStackTrace(); in handleSeed()
|
/art/test/080-oom-throw/src/ |
D | Main.java | 45 } catch (OutOfMemoryError e) { in allocate() 155 } catch (OutOfMemoryError e) { in triggerReflectionOOM() 157 } catch (InvocationTargetException e) { in triggerReflectionOOM() 159 if (!(e.getCause() instanceof OutOfMemoryError)) { in triggerReflectionOOM() 160 System.out.println("InvocationTargetException cause not OOME " + e.getCause()); in triggerReflectionOOM() 163 } catch (Exception e) { in triggerReflectionOOM() 165 System.out.println("Unexpected exception " + e); in triggerReflectionOOM() 176 } catch (OutOfMemoryError e) { in triggerReflectionOOM2()
|
/art/test/1964-add-to-dex-classloader-file/src/ |
D | Main.java | 133 } catch (Exception e) { in run() 136 e.getCause().getClass().getName()); in run() 137 SafePrintCause(e.getCause()); in run() 138 System.out.println(e); in run() 139 e.printStackTrace(); in run() 144 } catch (Exception e) { in run() 147 e.getCause().getClass().getName()); in run() 148 SafePrintCause(e.getCause()); in run()
|
/art/test/1970-force-early-return-long/src/art/ |
D | Test1970.java | 97 for (StackTraceElement e : st) { 100 + e.getClassName() 102 + e.getMethodName() 104 + (e.isNativeMethod() ? "Native Method" : e.getFileName()) 106 if (e.getClassName().equals("art.Test1970") && e.getMethodName().equals("runTests")) { 139 (thr, e) -> { 144 + e.getClass().getName() 146 + e.getLocalizedMessage()); 147 SafePrintStackTrace(e.getStackTrace()); 177 } catch (Exception e) { [all …]
|
/art/test/712-varhandle-invocations/src/ |
D | VarHandleReflectiveTest.java | 31 } catch (Exception e) { 32 throw new RuntimeException(e); 44 } catch (InvocationTargetException e) { in doTest() 45 assertEquals(e.getCause().getClass(), UnsupportedOperationException.class); in doTest()
|
/art/test/StaticLeafMethods/ |
D | StaticLeafMethods.java | 35 static int sum(int a, int b, int c, int d, int e) { in sum() argument 36 return a + b + c + d + e; in sum() 50 static double sum(double a, double b, double c, double d, double e) { in sum() argument 51 return a + b + c + d + e; in sum()
|
/art/test/2011-stack-walk-concurrent-instrument/src/ |
D | Main.java | 45 } catch (Exception e) { in testConcurrent() 46 throw new Error("Fail!", e); in testConcurrent() 53 } catch (Exception e) { in testConcurrent() 54 throw new Error("Fail!", e); in testConcurrent()
|
/art/test/440-stmp/src/ |
D | Main.java | 24 baz(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o); in bar() 27 public static void baz(float a, float b, float c, float d, float e, float f, float g, in baz() argument 29 System.out.println(a - b - c - d - e - f - g - h - i - j - k - l - m - n - o); in baz() 36 float e = 5.0f; field in Main
|
/art/test/957-methodhandle-transforms/ |
D | expected.txt | 36 a: a, b:1, c: 2, d: 3, e: 4, f:5, g: 6.0, h: 7.0 37 a: a, b:1, c: 2, d: 3, e: 4, f:5, g: 6.0, h: 7.0 38 a: a, b:1, c: 2, d: 51, e: 52, f:53.0, g: 54.0 39 a: a, b:1, c: 2, d: 51, e: 52, f:53.0, g: 54.0 40 a: a, b:1, c: 2, d: 3, e: 4, f:5.0, g:6.0 41 a: a, b:1, c: 2, d: 3, e: 4, f:5.0, g:6.0 42 a: a, b:1, c: 2, d: 3, e: 4.0, f:5.0 43 a: a, b:1, c: 2, d: 3, e: 4.0, f:5.0 44 a: a, b:1, c: 2, d: 3.0, e: 4.0 45 a: a, b:1, c: 2, d: 3.0, e: 4.0 [all …]
|
/art/test/561-shared-slowpaths/src/ |
D | Main.java | 48 } catch (Exception e) { in main() 62 } catch (NullPointerException e) { in main() 76 } catch (ArrayIndexOutOfBoundsException e) { in main() 90 } catch (ArrayIndexOutOfBoundsException e) { in main() 104 } catch (NullPointerException e) { in main() 118 } catch (ArrayIndexOutOfBoundsException e) { in main() 132 } catch (ArrayIndexOutOfBoundsException e) { in main()
|