author | mcimadamore |
Mon, 07 Mar 2011 14:11:48 +0000 | |
changeset 8634 | 222829aedfe4 |
permissions | -rw-r--r-- |
8634
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
1 |
/* |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
2 |
* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
4 |
* |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
8 |
* |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
13 |
* accompanied this code). |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
14 |
* |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
18 |
* |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
21 |
* questions. |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
22 |
*/ |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
23 |
|
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
24 |
/* @test |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
25 |
* @bug 7024568 |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
26 |
* @summary Very long method resolution causing OOM error |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
27 |
* @compile/fail/ref=T7024568.out -XDrawDiagnostics T7024568.java |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
28 |
*/ |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
29 |
|
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
30 |
class Main { |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
31 |
void test(Obj o) { |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
32 |
o.test(0, 0, 0, 0, 0, 0, 0, 0, undefined); |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
33 |
} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
34 |
} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
35 |
|
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
36 |
interface Test { |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
37 |
public void test(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, String str); |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
38 |
public void test(int i1, int i2, int i3, int i4, int i5, int i6, int i7, int i8, long l); |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
39 |
} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
40 |
|
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
41 |
interface Obj extends Test, A, B, C, D, E {} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
42 |
interface A extends Test {} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
43 |
interface B extends A, Test {} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
44 |
interface C extends A, B, Test {} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
45 |
interface D extends A, B, C, Test {} |
222829aedfe4
7024568: Very long method resolution causing OOM error
mcimadamore
parents:
diff
changeset
|
46 |
interface E extends A, B, C, D, Test {} |