|
1 /* |
|
2 * Copyright (c) 2013, 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 */ |
|
23 |
|
24 package test; |
|
25 |
|
26 class Target11 extends CurPackagePrivateExt11 { |
|
27 void run() { |
|
28 new Runnable() { |
|
29 public void run() { |
|
30 Target11.super.refTotestCurPackagePrivateBase11(); |
|
31 Target11.super.refTotestCurPackagePrivateBase11 = |
|
32 Target11.super.refTotestCurPackagePrivateBase11 + 1; |
|
33 Target11.super.refTotestCurPackagePrivateExt11(); |
|
34 Target11.super.refTotestCurPackagePrivateExt11 = |
|
35 Target11.super.refTotestCurPackagePrivateExt11 + 1; |
|
36 Target11.super.toString(); |
|
37 refTotestCurPackagePrivateBase11(); |
|
38 refTotestCurPackagePrivateBase11 = |
|
39 refTotestCurPackagePrivateBase11 + 1; |
|
40 refTotestTarget11(); |
|
41 refTotestTarget11 = refTotestTarget11 + 1; |
|
42 Target11.this.refTotestCurPackagePrivateBase11(); |
|
43 Target11.this.refTotestCurPackagePrivateBase11 = |
|
44 Target11.this.refTotestCurPackagePrivateBase11 + 1; |
|
45 Target11.this.refTotestTarget11(); |
|
46 Target11.this.refTotestTarget11 = |
|
47 Target11.this.refTotestTarget11 + 1; |
|
48 } |
|
49 }.run(); |
|
50 super.refTotestCurPackagePrivateBase11(); |
|
51 super.refTotestCurPackagePrivateBase11 = |
|
52 super.refTotestCurPackagePrivateBase11 + 1; |
|
53 super.refTotestCurPackagePrivateExt11(); |
|
54 super.refTotestCurPackagePrivateExt11 = |
|
55 super.refTotestCurPackagePrivateExt11 + 1; |
|
56 super.toString(); |
|
57 |
|
58 Target11.super.refTotestCurPackagePrivateBase11(); |
|
59 Target11.super.refTotestCurPackagePrivateBase11 = |
|
60 Target11.super.refTotestCurPackagePrivateBase11 + 1; |
|
61 Target11.super.refTotestCurPackagePrivateExt11(); |
|
62 Target11.super.refTotestCurPackagePrivateExt11 = |
|
63 Target11.super.refTotestCurPackagePrivateExt11 + 1; |
|
64 |
|
65 refTotestCurPackagePrivateBase11(); |
|
66 refTotestCurPackagePrivateBase11 = refTotestCurPackagePrivateBase11 + 1; |
|
67 refTotestTarget11 = refTotestTarget11 + 1; |
|
68 } |
|
69 } |
|
70 |
|
71 class CurPackagePrivateBase11 extends base.Base { |
|
72 protected void refTotestCurPackagePrivateBase11() {} |
|
73 protected int refTotestCurPackagePrivateBase11; |
|
74 } |
|
75 |
|
76 class CurPackagePrivateExt11 extends CurPackagePrivateBase11 { } |