author | twisti |
Mon, 27 Apr 2015 09:02:41 -0700 | |
changeset 30288 | 476c276de939 |
parent 30102 | d932845db0fe |
permissions | -rw-r--r-- |
30102
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
1 |
/* |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
2 |
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
4 |
* |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
8 |
* |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
13 |
* accompanied this code). |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
14 |
* |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
18 |
* |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
21 |
* questions. |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
22 |
*/ |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
23 |
|
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
24 |
/* |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
25 |
* HandlerInTry contains a try block in a ctor whose handler is inside |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
26 |
* the same try block. The try block starts at line 74 (try t2;), ends at |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
27 |
* line 106 (endtry t2;), but its handler starts at line 101 (catch t2 #0;). |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
28 |
*/ |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
29 |
super public class HandlerInTry |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
30 |
version 51:0 |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
31 |
{ |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
32 |
|
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
33 |
public static final synthetic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
34 |
|
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
35 |
public Method "<init>":"(Ljava/lang/Object;)V" |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
36 |
stack 5 locals 5 |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
37 |
{ |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
38 |
invokestatic Method ThreadLocalTransaction.getThreadLocalTransaction:"()Ljava/lang/Object;"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
39 |
checkcast class java/lang/Object; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
40 |
astore_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
41 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
42 |
invokestatic Method TransactionLogicDonor.isActiveTransaction:"(Ljava/lang/Object;)Z"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
43 |
ifeq L21; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
44 |
aload_0; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
45 |
aload_1; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
46 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
47 |
invokespecial Method "<init>":"(Ljava/lang/Object;Ljava/lang/Object;)V"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
48 |
return; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
49 |
L21: stack_frame_type append; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
50 |
locals_map class java/lang/Object; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
51 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
52 |
getstatic Field ___transactionFactory_2002349702336125:"Ljava/lang/Object;"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
53 |
invokestatic Method TransactionLogicDonor.createTransaction:"(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
54 |
astore_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
55 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
56 |
iconst_1; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
57 |
pop; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
58 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
59 |
invokestatic Method ThreadLocalTransaction.setThreadLocalTransaction:"(Ljava/lang/Object;)V"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
60 |
try t0, t1; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
61 |
aload_0; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
62 |
aload_1; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
63 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
64 |
invokespecial Method "<init>":"(Ljava/lang/Object;Ljava/lang/Object;)V"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
65 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
66 |
pop; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
67 |
aconst_null; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
68 |
astore_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
69 |
endtry t0, t1; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
70 |
invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
71 |
pop; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
72 |
goto L107; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
73 |
catch t0 java/lang/Throwable; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
74 |
try t2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
75 |
stack_frame_type full; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
76 |
locals_map bogus, class java/lang/Object, class java/lang/Object; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
77 |
stack_map class java/lang/Throwable; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
78 |
astore_3; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
79 |
aload_2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
80 |
pop; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
81 |
aload_3; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
82 |
instanceof class ControlFlowError; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
83 |
ifeq L82; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
84 |
new class java/lang/NullPointerException; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
85 |
dup; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
86 |
invokespecial Method java/lang/NullPointerException."<init>":"()V"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
87 |
athrow; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
88 |
L82: stack_frame_type append; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
89 |
locals_map class java/lang/Throwable; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
90 |
aload_3; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
91 |
instanceof class java/lang/Error; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
92 |
ifeq L94; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
93 |
aload_3; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
94 |
checkcast class java/lang/Error; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
95 |
athrow; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
96 |
L94: stack_frame_type same; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
97 |
aload_3; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
98 |
checkcast class java/lang/Exception; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
99 |
athrow; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
100 |
catch t1 #0; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
101 |
catch t2 #0; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
102 |
stack_frame_type full; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
103 |
locals_map bogus, class java/lang/Object, class java/lang/Object; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
104 |
stack_map class java/lang/Throwable; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
105 |
astore 4; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
106 |
endtry t2; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
107 |
invokestatic Method ThreadLocalTransaction.clearThreadLocalTransaction:"()V"; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
108 |
aload 4; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
109 |
athrow; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
110 |
L107: stack_frame_type full; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
111 |
locals_map class HandlerInTry, class java/lang/Object, null; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
112 |
return; |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
113 |
} |
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
114 |
|
d932845db0fe
8075118: JVM stuck in infinite loop during verification
hseigel
parents:
diff
changeset
|
115 |
} // end Class HandlerInTry |