Home
last modified time | relevance | path

Searched refs:Exception (Results 1 – 25 of 792) sorted by relevance

12345678910>>...32

/art/test/823-cha-inlining/src/
DMain.java23 public default void m() throws Exception { in m()
24 throw new Exception("Don't inline me"); in m()
26 public default void mConflict() throws Exception { in mConflict()
27 throw new Exception("Don't inline me"); in mConflict()
42 public default void m() throws Exception { in m()
43 throw new Exception("Don't inline me"); in m()
60 } catch (Exception e) { in main()
68 } catch (Exception e) { in main()
76 } catch (Exception e) { in main()
94 } catch (Exception e) { in main()
[all …]
/art/test/162-method-resolution/src/
DMain.java88 private static void test1() throws Exception { in test1()
127 private static void test2() throws Exception { in test2()
161 private static void test3() throws Exception { in test3()
186 private static void test4() throws Exception { in test4()
226 private static void test5() throws Exception { in test5()
261 private static void test6() throws Exception { in test6()
309 private static void test7() throws Exception { in test7()
344 private static void test8() throws Exception { in test8()
373 private static void test9() throws Exception { in test9()
399 private static void test10() throws Exception { in test10()
[all …]
/art/test/551-implicit-null-checks/src/
DMain.java25 public static void main(String args[]) throws Exception { in main()
49 public void $opt$noinline$testGetLong() throws Exception { in $opt$noinline$testGetLong()
51 throw new Exception(); // prevent inline in $opt$noinline$testGetLong()
54 public void $opt$noinline$testPutLong(long a) throws Exception { in $opt$noinline$testPutLong()
56 throw new Exception(); // prevent inline in $opt$noinline$testPutLong()
59 public void $opt$noinline$testGetDouble() throws Exception { in $opt$noinline$testGetDouble()
61 throw new Exception(); // prevent inline in $opt$noinline$testGetDouble()
64 public void $opt$noinline$testPutDouble(double a) throws Exception { in $opt$noinline$testPutDouble()
66 throw new Exception(); // prevent inline in $opt$noinline$testPutDouble()
/art/test/921-hello-failure/
Dexpected-stdout.txt2 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
5 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
8 Transformation error : java.lang.Exception(Failed to redefine class <LTransform;> due to JVMTI_ERRO…
11 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
14 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
17 Transformation error : java.lang.Exception(Failed to redefine class <LTransform2;> due to JVMTI_ERR…
21 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform2;, LTransform;> d…
24 Transformation error : java.lang.Exception(Failed to redefine classes <LTransform;, LTransform2;> d…
29 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform2;, LTransform;…
32 Transformation error : java.lang.Exception(Failed to retransform classes <LTransform;, LTransform2;…
[all …]
/art/test/141-class-unload/src/
DMain.java29 public static void main(String[] args) throws Exception { in main()
52 } catch (Exception e) { in main()
57 private static void testOatFilesUnloaded(int pid) throws Exception { in testOatFilesUnloaded()
78 private static void stressTest(Constructor<?> constructor) throws Exception { in stressTest()
95 private static void testUnloadClass(Constructor<?> constructor) throws Exception { in testUnloadClass()
107 throws Exception { in testUnloadLoader()
115 private static void testStackTrace(Constructor<?> constructor) throws Exception { in testStackTrace()
127 private static void testLoadAndUnloadLibrary(Constructor<?> constructor) throws Exception { in testLoadAndUnloadLibrary()
135 private static Object testNoUnloadHelper(ClassLoader loader) throws Exception { in testNoUnloadHelper()
150 private static Pair testNoUnloadInstanceHelper(Constructor<?> constructor) throws Exception { in testNoUnloadInstanceHelper()
[all …]
/art/test/042-new-instance/src/
DMain.java39 } catch (Exception ex) { in testClassNewInstance()
51 } catch (Exception ex) { in testClassNewInstance()
63 } catch (Exception ex) { in testClassNewInstance()
79 } catch (Exception ex) { in testConstructorNewInstance()
90 } catch (Exception ex) { in testConstructorNewInstance()
101 } catch (Exception ex) { in testConstructorNewInstance()
112 } catch (Exception ex) { in testConstructorNewInstance()
125 } catch (Exception ex) { in testConstructorNewInstance()
139 } catch (Exception ex) { in testConstructorNewInstance()
154 } catch (Exception ex) { in testConstructorNewInstance()
[all …]
/art/test/944-transform-classloaders/src/art/
DTest944.java117 public static void run() throws Exception { in run()
123 private static void checkIsInstance(Class<?> klass, Object o) throws Exception { in checkIsInstance()
125 throw new Exception(klass + " is not the class of " + o); in checkIsInstance()
146 private static void checkDexFileInClassLoader(Class<?> klass) throws Exception { in checkDexFileInClassLoader()
205 throw new Exception("elementArrayValue is not an " + dexPathListElementClass + " array!"); in checkDexFileInClassLoader()
230 throw new Exception( in checkDexFileInClassLoader()
234 private static void doTest() throws Exception { in doTest()
241 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest()
259 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest()
262 throw new Exception("The class " + Transform.class + " did not get a new dex file!"); in doTest()
[all …]
/art/test/530-checker-regression-reftyp-final/src/
DMain.java24 public static void main(String[] args) throws Exception { in main()
34 public static void testReferenceTypePropagation() throws Exception { in testReferenceTypePropagation()
42 throw new Exception("Incorrect type check."); in testReferenceTypePropagation()
50 throw new Exception("Incorrect type bound."); in testReferenceTypePropagation()
54 public static void invokeTestInliner() throws Exception { in invokeTestInliner()
/art/test/ExceptionHandle/
DExceptionHandle.java20 int f() throws Exception { in f()
25 } catch (Exception e) { in f()
35 void g(int doThrow) throws Exception { in g()
37 throw new Exception(); in g()
/art/test/718-zipfile-finalizer/src/
DMain.java20 public static void main(String[] args) throws Exception { in main()
27 } catch (Exception e) { in main()
37 public static int throwException() throws Exception { in throwException()
38 throw new Exception(); in throwException()
/art/test/802-deoptimization/src/
DDeoptimizationController.java28 private static File createTempFile() throws Exception { in createTempFile()
52 } catch (Exception exc) { in startDeoptimization()
67 } catch (Exception exc) { in stopDeoptimization()
84 } catch (Exception e) {
90 boolean samplingEnabled, int intervalUs) throws Exception { in startMethodTracing()
94 public static void stopMethodTracing() throws Exception { in stopMethodTracing()
97 public static int getMethodTracingMode() throws Exception { in getMethodTracingMode()
/art/test/570-checker-osr/src/
DDeoptimizationController.java31 private static File createTempFile() throws Exception { in createTempFile()
55 } catch (Exception exc) { in startDeoptimization()
70 } catch (Exception exc) { in stopDeoptimization()
87 } catch (Exception e) {
93 boolean samplingEnabled, int intervalUs) throws Exception { in startMethodTracing()
97 public static void stopMethodTracing() throws Exception { in stopMethodTracing()
100 public static int getMethodTracingMode() throws Exception { in getMethodTracingMode()
/art/test/jvmti-common/
DMonitors.java49 public final void DoWait() throws Exception { in DoWait()
56 public final void DoWait(long t) throws Exception { in DoWait()
64 public final void DoNotifyAll() throws Exception { in DoNotifyAll()
69 public final void DoNotify() throws Exception { in DoNotify()
164 public synchronized void suspendWorker() throws Exception { in suspendWorker()
172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor()
227 } catch (Exception e) { in DoLock()
241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld()
249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep()
259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep()
[all …]
/art/test/1930-monitor-info/src/art/
DMonitors.java49 public final void DoWait() throws Exception { in DoWait()
56 public final void DoWait(long t) throws Exception { in DoWait()
64 public final void DoNotifyAll() throws Exception { in DoNotifyAll()
69 public final void DoNotify() throws Exception { in DoNotify()
164 public synchronized void suspendWorker() throws Exception { in suspendWorker()
172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor()
227 } catch (Exception e) { in DoLock()
241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld()
249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep()
259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep()
[all …]
/art/test/1931-monitor-events/src/art/
DMonitors.java49 public final void DoWait() throws Exception { in DoWait()
56 public final void DoWait(long t) throws Exception { in DoWait()
64 public final void DoNotifyAll() throws Exception { in DoNotifyAll()
69 public final void DoNotify() throws Exception { in DoNotify()
164 public synchronized void suspendWorker() throws Exception { in suspendWorker()
172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor()
227 } catch (Exception e) { in DoLock()
241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld()
249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep()
259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep()
[all …]
/art/test/1932-monitor-events-misc/src/art/
DMonitors.java49 public final void DoWait() throws Exception { in DoWait()
56 public final void DoWait(long t) throws Exception { in DoWait()
64 public final void DoNotifyAll() throws Exception { in DoNotifyAll()
69 public final void DoNotify() throws Exception { in DoNotify()
164 public synchronized void suspendWorker() throws Exception { in suspendWorker()
172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor()
227 } catch (Exception e) { in DoLock()
241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld()
249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep()
259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep()
[all …]
/art/test/1933-monitor-current-contended/src/art/
DMonitors.java49 public final void DoWait() throws Exception { in DoWait()
56 public final void DoWait(long t) throws Exception { in DoWait()
64 public final void DoNotifyAll() throws Exception { in DoNotifyAll()
69 public final void DoNotify() throws Exception { in DoNotify()
164 public synchronized void suspendWorker() throws Exception { in suspendWorker()
172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor()
227 } catch (Exception e) { in DoLock()
241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld()
249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep()
259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep()
[all …]
/art/test/1934-jvmti-signal-thread/src/art/
DMonitors.java49 public final void DoWait() throws Exception { in DoWait()
56 public final void DoWait(long t) throws Exception { in DoWait()
64 public final void DoNotifyAll() throws Exception { in DoNotifyAll()
69 public final void DoNotify() throws Exception { in DoNotify()
164 public synchronized void suspendWorker() throws Exception { in suspendWorker()
172 public Object getWorkerContendedMonitor() throws Exception { in getWorkerContendedMonitor()
227 } catch (Exception e) { in DoLock()
241 public void waitForLockToBeHeld() throws Exception { in waitForLockToBeHeld()
249 public synchronized void waitForNotifySleep() throws Exception { in waitForNotifySleep()
259 public synchronized void waitForContendedSleep() throws Exception { in waitForContendedSleep()
[all …]
/art/test/912-classes/src-art/art/
DTest912Art.java27 public static void run() throws Exception { in run()
31 public static void doTest() throws Exception { in doTest()
35 private static void testClassEvents() throws Exception { in testClassEvents()
47 private static void testClassEventsJit() throws Exception { in testClassEventsJit()
59 private static void testClassEventsJitImpl() throws Exception { in testClassEventsJitImpl()
/art/test/124-missing-classes/src/
DMain.java19 public static void main(String[] args) throws Exception { in main()
32 private static void testMissingFieldType() throws Exception { in testMissingFieldType()
47 private static void testMissingMethodReturnType() throws Exception { in testMissingMethodReturnType()
60 private static void testMissingMethodParameterType() throws Exception { in testMissingMethodParameterType()
72 private static void testMissingInnerClass() throws Exception { in testMissingInnerClass()
/art/test/099-vmdebug/src/
DMain.java28 public static void main(String[] args) throws Exception { in main()
40 private static File createTempFile() throws Exception { in createTempFile()
54 private static void testMethodTracing() throws Exception { in testMethodTracing()
66 private static void testMethodTracingToFile(File tempFile) throws Exception { in testMethodTracingToFile()
108 } catch (Exception e) { in testMethodTracingToFile()
116 } catch (Exception e) { in testMethodTracingToFile()
124 } catch (Exception e) { in testMethodTracingToFile()
131 private static void checkNumber(String s) throws Exception { in checkNumber()
142 private static void checkHistogram(String s) throws Exception { in checkHistogram()
174 private static void testRuntimeStat() throws Exception { in testRuntimeStat()
[all …]
/art/test/2011-stack-walk-concurrent-instrument/src/
DMain.java23 void $noinline$f(Runnable r) throws Exception { in $noinline$f()
39 void testConcurrent() throws Exception { in testConcurrent()
45 } catch (Exception e) { in testConcurrent()
53 } catch (Exception e) { in testConcurrent()
60 public static void main(String[] args) throws Exception { in main()
/art/test/542-inline-trycatch/src/
DMain.java68 } catch (Exception ex) { in testSingleBlockFromCatch()
107 } catch (Exception ex) { in testMultipleBlocksFromCatch()
114 } catch (Exception ex) { in testMultipleBlocksFromCatch()
143 } catch (Exception ex) { in testTryCatchFromCatch()
150 } catch (Exception ex) { in testTryCatchFromCatch()
175 private static void throwException() throws Exception { in throwException()
176 throw new Exception(); in throwException()
/art/test/179-nonvirtual-jni/src/
DMain.java28 public static void main(String[] args) throws Exception { in main()
33 } catch (Exception e) { in main()
39 } catch (Exception e) { in main()
45 } catch (Exception e) { in main()
51 } catch (Exception e) { in main()
/art/test/486-checker-must-do-null-check/src/
DMain.java20 public void InstanceOfPreChecked(Object o) throws Exception { in InstanceOfPreChecked()
23 throw new Exception(); in InstanceOfPreChecked()
29 public void InstanceOf(Object o) throws Exception { in InstanceOf()
31 throw new Exception(); in InstanceOf()

12345678910>>...32