10
|
1 |
/*
|
5520
|
2 |
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
|
10
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 |
*
|
|
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.
|
|
8 |
*
|
|
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).
|
|
14 |
*
|
|
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.
|
|
18 |
*
|
5520
|
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.
|
10
|
22 |
*/
|
|
23 |
|
|
24 |
/*
|
|
25 |
* @test
|
|
26 |
* @bug 4309152
|
|
27 |
* @summary Compiler silently generates bytecode that exceeds VM limits
|
|
28 |
* @author gafter
|
|
29 |
*
|
|
30 |
* @compile NumArgs4.java
|
|
31 |
*/
|
|
32 |
|
|
33 |
class NumArgs4 {
|
|
34 |
void NumArgs4(
|
|
35 |
// T1 this,
|
|
36 |
int x2,
|
|
37 |
int x3,
|
|
38 |
int x4,
|
|
39 |
int x5,
|
|
40 |
int x6,
|
|
41 |
int x7,
|
|
42 |
int x8,
|
|
43 |
int x9,
|
|
44 |
int x10,
|
|
45 |
int x11,
|
|
46 |
int x12,
|
|
47 |
int x13,
|
|
48 |
int x14,
|
|
49 |
int x15,
|
|
50 |
int x16,
|
|
51 |
int x17,
|
|
52 |
int x18,
|
|
53 |
int x19,
|
|
54 |
int x20,
|
|
55 |
int x21,
|
|
56 |
int x22,
|
|
57 |
int x23,
|
|
58 |
int x24,
|
|
59 |
int x25,
|
|
60 |
int x26,
|
|
61 |
int x27,
|
|
62 |
int x28,
|
|
63 |
int x29,
|
|
64 |
int x30,
|
|
65 |
int x31,
|
|
66 |
int x32,
|
|
67 |
int x33,
|
|
68 |
int x34,
|
|
69 |
int x35,
|
|
70 |
int x36,
|
|
71 |
int x37,
|
|
72 |
int x38,
|
|
73 |
int x39,
|
|
74 |
int x40,
|
|
75 |
int x41,
|
|
76 |
int x42,
|
|
77 |
int x43,
|
|
78 |
int x44,
|
|
79 |
int x45,
|
|
80 |
int x46,
|
|
81 |
int x47,
|
|
82 |
int x48,
|
|
83 |
int x49,
|
|
84 |
int x50,
|
|
85 |
int x51,
|
|
86 |
int x52,
|
|
87 |
int x53,
|
|
88 |
int x54,
|
|
89 |
int x55,
|
|
90 |
int x56,
|
|
91 |
int x57,
|
|
92 |
int x58,
|
|
93 |
int x59,
|
|
94 |
int x60,
|
|
95 |
int x61,
|
|
96 |
int x62,
|
|
97 |
int x63,
|
|
98 |
int x64,
|
|
99 |
int x65,
|
|
100 |
int x66,
|
|
101 |
int x67,
|
|
102 |
int x68,
|
|
103 |
int x69,
|
|
104 |
int x70,
|
|
105 |
int x71,
|
|
106 |
int x72,
|
|
107 |
int x73,
|
|
108 |
int x74,
|
|
109 |
int x75,
|
|
110 |
int x76,
|
|
111 |
int x77,
|
|
112 |
int x78,
|
|
113 |
int x79,
|
|
114 |
int x80,
|
|
115 |
int x81,
|
|
116 |
int x82,
|
|
117 |
int x83,
|
|
118 |
int x84,
|
|
119 |
int x85,
|
|
120 |
int x86,
|
|
121 |
int x87,
|
|
122 |
int x88,
|
|
123 |
int x89,
|
|
124 |
int x90,
|
|
125 |
int x91,
|
|
126 |
int x92,
|
|
127 |
int x93,
|
|
128 |
int x94,
|
|
129 |
int x95,
|
|
130 |
int x96,
|
|
131 |
int x97,
|
|
132 |
int x98,
|
|
133 |
int x99,
|
|
134 |
int x100,
|
|
135 |
int x101,
|
|
136 |
int x102,
|
|
137 |
int x103,
|
|
138 |
int x104,
|
|
139 |
int x105,
|
|
140 |
int x106,
|
|
141 |
int x107,
|
|
142 |
int x108,
|
|
143 |
int x109,
|
|
144 |
int x110,
|
|
145 |
int x111,
|
|
146 |
int x112,
|
|
147 |
int x113,
|
|
148 |
int x114,
|
|
149 |
int x115,
|
|
150 |
int x116,
|
|
151 |
int x117,
|
|
152 |
int x118,
|
|
153 |
int x119,
|
|
154 |
int x120,
|
|
155 |
int x121,
|
|
156 |
int x122,
|
|
157 |
int x123,
|
|
158 |
int x124,
|
|
159 |
int x125,
|
|
160 |
int x126,
|
|
161 |
int x127,
|
|
162 |
int x128,
|
|
163 |
int x129,
|
|
164 |
int x130,
|
|
165 |
int x131,
|
|
166 |
int x132,
|
|
167 |
int x133,
|
|
168 |
int x134,
|
|
169 |
int x135,
|
|
170 |
int x136,
|
|
171 |
int x137,
|
|
172 |
int x138,
|
|
173 |
int x139,
|
|
174 |
int x140,
|
|
175 |
int x141,
|
|
176 |
int x142,
|
|
177 |
int x143,
|
|
178 |
int x144,
|
|
179 |
int x145,
|
|
180 |
int x146,
|
|
181 |
int x147,
|
|
182 |
int x148,
|
|
183 |
int x149,
|
|
184 |
int x150,
|
|
185 |
int x151,
|
|
186 |
int x152,
|
|
187 |
int x153,
|
|
188 |
int x154,
|
|
189 |
int x155,
|
|
190 |
int x156,
|
|
191 |
int x157,
|
|
192 |
int x158,
|
|
193 |
int x159,
|
|
194 |
int x160,
|
|
195 |
int x161,
|
|
196 |
int x162,
|
|
197 |
int x163,
|
|
198 |
int x164,
|
|
199 |
int x165,
|
|
200 |
int x166,
|
|
201 |
int x167,
|
|
202 |
int x168,
|
|
203 |
int x169,
|
|
204 |
int x170,
|
|
205 |
int x171,
|
|
206 |
int x172,
|
|
207 |
int x173,
|
|
208 |
int x174,
|
|
209 |
int x175,
|
|
210 |
int x176,
|
|
211 |
int x177,
|
|
212 |
int x178,
|
|
213 |
int x179,
|
|
214 |
int x180,
|
|
215 |
int x181,
|
|
216 |
int x182,
|
|
217 |
int x183,
|
|
218 |
int x184,
|
|
219 |
int x185,
|
|
220 |
int x186,
|
|
221 |
int x187,
|
|
222 |
int x188,
|
|
223 |
int x189,
|
|
224 |
int x190,
|
|
225 |
int x191,
|
|
226 |
int x192,
|
|
227 |
int x193,
|
|
228 |
int x194,
|
|
229 |
int x195,
|
|
230 |
int x196,
|
|
231 |
int x197,
|
|
232 |
int x198,
|
|
233 |
int x199,
|
|
234 |
int x200,
|
|
235 |
int x201,
|
|
236 |
int x202,
|
|
237 |
int x203,
|
|
238 |
int x204,
|
|
239 |
int x205,
|
|
240 |
int x206,
|
|
241 |
int x207,
|
|
242 |
int x208,
|
|
243 |
int x209,
|
|
244 |
int x210,
|
|
245 |
int x211,
|
|
246 |
int x212,
|
|
247 |
int x213,
|
|
248 |
int x214,
|
|
249 |
int x215,
|
|
250 |
int x216,
|
|
251 |
int x217,
|
|
252 |
int x218,
|
|
253 |
int x219,
|
|
254 |
int x220,
|
|
255 |
int x221,
|
|
256 |
int x222,
|
|
257 |
int x223,
|
|
258 |
int x224,
|
|
259 |
int x225,
|
|
260 |
int x226,
|
|
261 |
int x227,
|
|
262 |
int x228,
|
|
263 |
int x229,
|
|
264 |
int x230,
|
|
265 |
int x231,
|
|
266 |
int x232,
|
|
267 |
int x233,
|
|
268 |
int x234,
|
|
269 |
int x235,
|
|
270 |
int x236,
|
|
271 |
int x237,
|
|
272 |
int x238,
|
|
273 |
int x239,
|
|
274 |
int x240,
|
|
275 |
int x241,
|
|
276 |
int x242,
|
|
277 |
int x243,
|
|
278 |
int x244,
|
|
279 |
int x245,
|
|
280 |
int x246,
|
|
281 |
int x247,
|
|
282 |
int x248,
|
|
283 |
int x249,
|
|
284 |
int x250,
|
|
285 |
int x251,
|
|
286 |
int x252,
|
|
287 |
int x253,
|
|
288 |
int x254,
|
|
289 |
int x255
|
|
290 |
) {}
|
|
291 |
}
|