aboutsummaryrefslogtreecommitdiff
path: root/tests/run/exceptions-2.check
blob: 9a3044cd4f01f67ee1924379a2ac72cea3df672d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
nested1: 
Innermost finally
Outermost finally
nested2: 
Innermost finally
Outermost finally
mixed: 
10
Finally!
withValue1:
Oh, oh
10
withValue2:
droped a null
null
method2:
10
Exception occurred
method3:
Caught an NPE
tryFinallyTry:
Silently ignore exception in finally
valInFinally:
Abc
tryAndValInFinally
Abc
=================
NoExcep.method2:
Hello, world
NoExcep.method3:
method3
NoExcep.method4:
..
Return inside body:
Normal execution...
inner finally
Outer finally
Return inside synchronized body:
Synchronized normal execution...
inner finally
Outer finally
Return inside body and return in finally:
Normal execution...
inner finally
Outer finally
Return inside body and return in finally inside finally:
Normal execution...
inner finally
finally inside finally
Outer finally
Throw in catch and finally:
ABC
Return with finally clause that cleans the stack
Normal execution...
inner finally
Outer finally