author | hannesw |
Mon, 23 Apr 2018 17:45:05 +0200 | |
changeset 49855 | 3739e9a5b6b5 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
16147 | 1 |
/* |
16151 | 2 |
* Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
16147 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
24778
2ff5d7041566
8044638: Tidy up Nashorn codebase for code standards
attila
parents:
16151
diff
changeset
|
4 |
* |
16147 | 5 |
* This code is free software; you can redistribute it and/or modify it |
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
24778
2ff5d7041566
8044638: Tidy up Nashorn codebase for code standards
attila
parents:
16151
diff
changeset
|
8 |
* |
16147 | 9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
24778
2ff5d7041566
8044638: Tidy up Nashorn codebase for code standards
attila
parents:
16151
diff
changeset
|
14 |
* |
16147 | 15 |
* You should have received a copy of the GNU General Public License version |
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
24778
2ff5d7041566
8044638: Tidy up Nashorn codebase for code standards
attila
parents:
16151
diff
changeset
|
18 |
* |
16147 | 19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 |
* or visit www.oracle.com if you need additional information or have any |
|
21 |
* questions. |
|
22 |
*/ |
|
23 |
||
24 |
/** |
|
25 |
* NASHORN-117 : StackOverflowError because of recursive class loading involving LayoutGenerator |
|
26 |
* |
|
27 |
* @test |
|
28 |
* @run |
|
29 |
*/ |
|
30 |
||
24778
2ff5d7041566
8044638: Tidy up Nashorn codebase for code standards
attila
parents:
16151
diff
changeset
|
31 |
// The following code results in StackOverflowError |
16147 | 32 |
|
33 |
var i0 = ""; |
|
34 |
var o0 = ""; |
|
35 |
var i1 = ""; |
|
36 |
var o1 = ""; |
|
37 |
var i2 = ""; |
|
38 |
var o2 = ""; |
|
39 |
var i3 = ""; |
|
40 |
var o3 = ""; |
|
41 |
var i4 = ""; |
|
42 |
var o4 = ""; |
|
43 |
var i5 = ""; |
|
44 |
var o5 = ""; |
|
45 |
var i6 = ""; |
|
46 |
var o6 = ""; |
|
47 |
var i7 = ""; |
|
48 |
var o7 = ""; |
|
49 |
var i8 = ""; |
|
50 |
var o8 = ""; |
|
51 |
var i9 = ""; |
|
52 |
var o9 = ""; |
|
53 |
var i10 = ""; |
|
54 |
var o10 = ""; |
|
55 |
var i11 = ""; |
|
56 |
var o11 = ""; |
|
57 |
var i12 = ""; |
|
58 |
var o12 = ""; |
|
59 |
var i13 = ""; |
|
60 |
var o13 = ""; |
|
61 |
var i14 = ""; |
|
62 |
var o14 = ""; |
|
63 |
var i15 = ""; |
|
64 |
var o15 = ""; |
|
65 |
var i16 = ""; |
|
66 |
var o16 = ""; |
|
67 |
var i17 = ""; |
|
68 |
var o17 = ""; |
|
69 |
var i18 = ""; |
|
70 |
var o18 = ""; |
|
71 |
var i19 = ""; |
|
72 |
var o19 = ""; |
|
73 |
var i20 = ""; |
|
74 |
var o20 = ""; |
|
75 |
var i21 = ""; |
|
76 |
var o21 = ""; |
|
77 |
var i22 = ""; |
|
78 |
var o22 = ""; |
|
79 |
var i23 = ""; |
|
80 |
var o23 = ""; |
|
81 |
var i24 = ""; |
|
82 |
var o24 = ""; |
|
83 |
var i25 = ""; |
|
84 |
var o25 = ""; |
|
85 |
var i26 = ""; |
|
86 |
var o26 = ""; |
|
87 |
var i27 = ""; |
|
88 |
var o27 = ""; |
|
89 |
var i28 = ""; |
|
90 |
var o28 = ""; |
|
91 |
var i29 = ""; |
|
92 |
var o29 = ""; |
|
93 |
var i30 = ""; |
|
94 |
var o30 = ""; |
|
95 |
var i31 = ""; |
|
96 |
var o31 = ""; |
|
97 |
var i32 = ""; |
|
98 |
var o32 = ""; |
|
99 |
var i33 = ""; |
|
100 |
var o33 = ""; |
|
101 |
var i34 = ""; |
|
102 |
var o34 = ""; |
|
103 |
var i35 = ""; |
|
104 |
var o35 = ""; |
|
105 |
var i36 = ""; |
|
106 |
var o36 = ""; |
|
107 |
var i37 = ""; |
|
108 |
var o37 = ""; |
|
109 |
var i38 = ""; |
|
110 |
var o38 = ""; |
|
111 |
var i39 = ""; |
|
112 |
var o39 = ""; |
|
113 |
var i40 = ""; |
|
114 |
var o40 = ""; |
|
115 |
var i41 = ""; |
|
116 |
var o41 = ""; |
|
117 |
var i42 = ""; |
|
118 |
var o42 = ""; |
|
119 |
var i43 = ""; |
|
120 |
var o43 = ""; |
|
121 |
var i44 = ""; |
|
122 |
var o44 = ""; |
|
123 |
var i45 = ""; |
|
124 |
var o45 = ""; |
|
125 |
var i46 = ""; |
|
126 |
var o46 = ""; |
|
127 |
var i47 = ""; |
|
128 |
var o47 = ""; |
|
129 |
var i48 = ""; |
|
130 |
var o48 = ""; |
|
131 |
var i49 = ""; |
|
132 |
var o49 = ""; |
|
133 |
var i50 = ""; |
|
134 |
var o50 = ""; |
|
135 |
var i51 = ""; |
|
136 |
var o51 = ""; |
|
137 |
var i52 = ""; |
|
138 |
var o52 = ""; |
|
139 |
var i53 = ""; |
|
140 |
var o53 = ""; |
|
141 |
var i54 = ""; |
|
142 |
var o54 = ""; |
|
143 |
var i55 = ""; |
|
144 |
var o55 = ""; |
|
145 |
var i56 = ""; |
|
146 |
var o56 = ""; |
|
147 |
var i57 = ""; |
|
148 |
var o57 = ""; |
|
149 |
var i58 = ""; |
|
150 |
var o58 = ""; |
|
151 |
var i59 = ""; |
|
152 |
var o59 = ""; |
|
153 |
var i60 = ""; |
|
154 |
var o60 = ""; |
|
155 |
var i61 = ""; |
|
156 |
var o61 = ""; |
|
157 |
var i62 = ""; |
|
158 |
var o62 = ""; |
|
159 |
var i63 = ""; |
|
160 |
var o63 = ""; |