Home
last modified time | relevance | path

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

12345678910>>...15

/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.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/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/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()
77 private static void stressTest(Constructor<?> constructor) throws Exception { in stressTest()
94 private static void testUnloadClass(Constructor<?> constructor) throws Exception { in testUnloadClass()
106 throws Exception { in testUnloadLoader()
114 private static void testStackTrace(Constructor<?> constructor) throws Exception { in testStackTrace()
126 private static void testLoadAndUnloadLibrary(Constructor<?> constructor) throws Exception { in testLoadAndUnloadLibrary()
134 private static Object testNoUnloadHelper(ClassLoader loader) throws Exception { in testNoUnloadHelper()
149 private static Pair testNoUnloadInstanceHelper(Constructor<?> constructor) throws Exception { in testNoUnloadInstanceHelper()
[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/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/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/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/912-classes/src/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/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/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()
/art/test/416-optimizing-arith-not/src/
DMain.java33 public static void main(String[] args) throws Exception { in main()
38 private static void notInt() throws Exception { in notInt()
49 private static void notLong() throws Exception { in notLong()
66 private static int smaliNotInt(int a) throws Exception { in smaliNotInt()
73 private static long smaliNotLong(long a) throws Exception { in smaliNotLong()
/art/test/118-noimage-dex2oat/src/
DMain.java21 public static void main(String[] args) throws Exception { in main()
58 } catch (Exception e) {
63 public static String getCurrentInstructionSet() throws Exception { in getCurrentInstructionSet()
66 public static boolean isBootClassPathOnDisk(String instructionSet) throws Exception { in isBootClassPathOnDisk()
71 private static void testB18485243() throws Exception { in testB18485243()
/art/test/980-redefine-object/src/
DMain.java302 } catch (Exception e) { in DisableReporting()
313 } catch (Exception e) { in EnableReporting()
330 } catch (Exception e) { in ensureTestWatcherInitialized()
343 private static void throwFrom(int depth) throws Exception { in throwFrom()
345 throw new Exception("Throwing the exception"); in throwFrom()
403 } catch (Exception e) { in doTest()
/art/test/137-cfi/src/
DMain.java38 public Main(String[] args) throws Exception { in Main()
59 public static void main(String[] args) throws Exception { in main()
110 } catch (Exception e) { in runPrimary()
127 } catch (Exception e) { in runPrimary()
134 } catch (Exception e) { in runPrimary()
146 } catch (Exception exc) { in exec()
168 } catch (Exception exc) { in getCmdLine()
/art/test/083-compiler-regressions/src/
DZeroTests.java21 public static void longDivTest() throws Exception { in longDivTest()
25 public static void longModTest() throws Exception { in longModTest()
29 private static void longTest(String name, boolean divide) throws Exception { in longTest()
/art/test/904-object-allocation/src/art/
DTest904.java23 public static void run() throws Exception { in run()
43 public static void doTest(ArrayList<Object> l) throws Exception { in doTest()
98 final boolean disableTracking) throws Exception { in testThread()
110 } catch (Exception e) { in testThread()
138 public synchronized void dec() throws Exception { in dec()
143 public synchronized void waitFor() throws Exception { in waitFor()
/art/test/130-hprof/src/
DMain.java38 private static Object allocInDifferentLoader() throws Exception { in allocInDifferentLoader()
75 } catch (Exception exc) { in createDumpAndConv()
89 public static void main(String[] args) throws Exception { in main()
95 private static void testBasicDump() throws Exception { in testBasicDump()
115 private static void testAllocationTrackingAndClassUnloading() throws Exception { in testAllocationTrackingAndClassUnloading()
134 private static void testGcAndDump() throws Exception { in testGcAndDump()
198 } catch (Exception exc) { in createDump()
236 } catch (Exception exc) { in getDumpFile()
244 } catch (Exception exc) { in getConvFile()
/art/test/921-hello-failure/src/
DMain.java51 byte[] dexfile) throws Exception { in doCommonClassRedefinition()
54 public static void doMultiClassRedefinition(CommonClassDefinition... defs) throws Exception { in doMultiClassRedefinition()
57 public static void addMultiTransformationResults(CommonClassDefinition... defs) throws Exception { in addMultiTransformationResults()
62 byte[][] dexfiles) throws Exception { in doCommonMultiClassRedefinition()
65 public static void doCommonClassRetransformation(Class<?>... target) throws Exception { in doCommonClassRetransformation()
/art/test/981-dedup-original-dex/src/art/
DTest981.java140 public static void run() throws Exception { in run()
145 private static void assertSame(Object a, Object b) throws Exception { in assertSame()
152 private static Object getObjectField(Object o, String name) throws Exception { in getObjectField()
156 private static Object getObjectField(Object o, Class<?> type, String name) throws Exception { in getObjectField()
162 private static Object getOriginalDexFile(Class<?> k) throws Exception { in getOriginalDexFile()
171 public static void doTest() throws Exception { in doTest()
/art/test/936-search-onload/src/
DMain.java20 public static void main(String[] args) throws Exception { in main()
24 private static void doTest() throws Exception { in doTest()
30 private static void doTest(boolean boot, String className) throws Exception { in doTest()
/art/test/924-threads/src/art/
DTest924.java31 public static void run() throws Exception { in run()
38 } catch (Exception e) { in run()
47 private static void doTest() throws Exception { in doTest()
92 private static void doStateTests() throws Exception { in doStateTests()
130 } catch (Exception e) { in doStateTests()
235 private static void doTLSTests() throws Exception { in doTLSTests()
240 private static void doTLSNonLiveTests() throws Exception { in doTLSNonLiveTests()
245 } catch (Exception e) { in doTLSNonLiveTests()
253 } catch (Exception e) { in doTLSNonLiveTests()
258 private static void doTLSLiveTests() throws Exception { in doTLSLiveTests()
[all …]

12345678910>>...15