blob: aa62098cd1e12a00230adf95840248650883405a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
public class QualifiedSuperClassConstructorInvocations_PR401 {
public static void main(String[] args) {
ChildOfInner coi = new ChildOfInner();
org.aspectj.testing.Tester.checkEqual(S.s, "Outer:Inner:ChildOfInner");
}
}
class S {
static String s = "";
}
class Outer {
public Outer() {
S.s += "Outer";
}
class Inner{
public Inner() {
S.s += ":Inner";
}
}
}
class ChildOfInner extends Outer.Inner {
ChildOfInner() {
(new Outer()).super();
S.s += ":ChildOfInner";
}
}
|