Tue, 10 Apr 2012 08:15:25 -0700
7074397: Build infrastructure changes (makefile re-write)
Summary: New makefiles transition, old and new living side by side for now.
Reviewed-by: ohair, jjg, dholmes, ohrstrom, erikj, ihse, tgranat, ykantser
Contributed-by: ohrstrom <fredrik.ohrstrom@oracle.com>, erikj <erik.joelsson@oracle.com>, ihse <magnus.ihse.bursie@oracle.com>, tgranat <torbjorn.granat@oracle.com>, ykantser <yekaterina.kantserova@oracle.com>
1 /*
2 * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
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 *
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 */
24 /*
25 * @test
26 * @bug 4309152
27 * @summary Compiler silently generates bytecode that exceeds VM limits
28 * @author gafter
29 *
30 * @compile/fail NumArgs1.java
31 */
33 class NumArgs1 {
34 void f(
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 int x256
291 ) {}
293 static
294 void g(
295 int x1,
296 int x2,
297 int x3,
298 int x4,
299 int x5,
300 int x6,
301 int x7,
302 int x8,
303 int x9,
304 int x10,
305 int x11,
306 int x12,
307 int x13,
308 int x14,
309 int x15,
310 int x16,
311 int x17,
312 int x18,
313 int x19,
314 int x20,
315 int x21,
316 int x22,
317 int x23,
318 int x24,
319 int x25,
320 int x26,
321 int x27,
322 int x28,
323 int x29,
324 int x30,
325 int x31,
326 int x32,
327 int x33,
328 int x34,
329 int x35,
330 int x36,
331 int x37,
332 int x38,
333 int x39,
334 int x40,
335 int x41,
336 int x42,
337 int x43,
338 int x44,
339 int x45,
340 int x46,
341 int x47,
342 int x48,
343 int x49,
344 int x50,
345 int x51,
346 int x52,
347 int x53,
348 int x54,
349 int x55,
350 int x56,
351 int x57,
352 int x58,
353 int x59,
354 int x60,
355 int x61,
356 int x62,
357 int x63,
358 int x64,
359 int x65,
360 int x66,
361 int x67,
362 int x68,
363 int x69,
364 int x70,
365 int x71,
366 int x72,
367 int x73,
368 int x74,
369 int x75,
370 int x76,
371 int x77,
372 int x78,
373 int x79,
374 int x80,
375 int x81,
376 int x82,
377 int x83,
378 int x84,
379 int x85,
380 int x86,
381 int x87,
382 int x88,
383 int x89,
384 int x90,
385 int x91,
386 int x92,
387 int x93,
388 int x94,
389 int x95,
390 int x96,
391 int x97,
392 int x98,
393 int x99,
394 int x100,
395 int x101,
396 int x102,
397 int x103,
398 int x104,
399 int x105,
400 int x106,
401 int x107,
402 int x108,
403 int x109,
404 int x110,
405 int x111,
406 int x112,
407 int x113,
408 int x114,
409 int x115,
410 int x116,
411 int x117,
412 int x118,
413 int x119,
414 int x120,
415 int x121,
416 int x122,
417 int x123,
418 int x124,
419 int x125,
420 int x126,
421 int x127,
422 int x128,
423 int x129,
424 int x130,
425 int x131,
426 int x132,
427 int x133,
428 int x134,
429 int x135,
430 int x136,
431 int x137,
432 int x138,
433 int x139,
434 int x140,
435 int x141,
436 int x142,
437 int x143,
438 int x144,
439 int x145,
440 int x146,
441 int x147,
442 int x148,
443 int x149,
444 int x150,
445 int x151,
446 int x152,
447 int x153,
448 int x154,
449 int x155,
450 int x156,
451 int x157,
452 int x158,
453 int x159,
454 int x160,
455 int x161,
456 int x162,
457 int x163,
458 int x164,
459 int x165,
460 int x166,
461 int x167,
462 int x168,
463 int x169,
464 int x170,
465 int x171,
466 int x172,
467 int x173,
468 int x174,
469 int x175,
470 int x176,
471 int x177,
472 int x178,
473 int x179,
474 int x180,
475 int x181,
476 int x182,
477 int x183,
478 int x184,
479 int x185,
480 int x186,
481 int x187,
482 int x188,
483 int x189,
484 int x190,
485 int x191,
486 int x192,
487 int x193,
488 int x194,
489 int x195,
490 int x196,
491 int x197,
492 int x198,
493 int x199,
494 int x200,
495 int x201,
496 int x202,
497 int x203,
498 int x204,
499 int x205,
500 int x206,
501 int x207,
502 int x208,
503 int x209,
504 int x210,
505 int x211,
506 int x212,
507 int x213,
508 int x214,
509 int x215,
510 int x216,
511 int x217,
512 int x218,
513 int x219,
514 int x220,
515 int x221,
516 int x222,
517 int x223,
518 int x224,
519 int x225,
520 int x226,
521 int x227,
522 int x228,
523 int x229,
524 int x230,
525 int x231,
526 int x232,
527 int x233,
528 int x234,
529 int x235,
530 int x236,
531 int x237,
532 int x238,
533 int x239,
534 int x240,
535 int x241,
536 int x242,
537 int x243,
538 int x244,
539 int x245,
540 int x246,
541 int x247,
542 int x248,
543 int x249,
544 int x250,
545 int x251,
546 int x252,
547 int x253,
548 int x254,
549 int x255,
550 int x256
551 ) {}
552 }