Browse Source

testcode for 153490: nested delegate problems.

tags/BEFORE_133532
aclement 18 years ago
parent
commit
43638daf5d

+ 4
- 0
tests/bugs153/pr153490/A.aj View File

public aspect A {
public enum TestType {Pre};
}


+ 7
- 0
tests/bugs153/pr153490/A2.aj View File

public aspect A2 {

public static class C {
public enum TestType {Pre};
}
}

+ 7
- 0
tests/bugs153/pr153490/Bar.java View File

public class Bar {

public static void main(String[] args) {
A2.C.TestType pre = A2.C.TestType.Pre;
}

}

+ 7
- 0
tests/bugs153/pr153490/C.java View File

public class C {

static aspect A {
public enum TestType {Pre};
}

}

+ 7
- 0
tests/bugs153/pr153490/Foo.java View File

public class Foo {

public static void main(String[] args) {
A.TestType pre = A.TestType.Pre;
}

}

+ 6
- 0
tests/bugs153/pr153490/Goo.java View File

public class Goo {

public static void main(String[] args) {
C.A.TestType pre = C.A.TestType.Pre;
}
}

BIN
tests/bugs153/pr153490/jarForBar.jar View File


BIN
tests/bugs153/pr153490/jarForFoo.jar View File


BIN
tests/bugs153/pr153490/jarForGoo.jar View File


+ 5
- 0
tests/bugs153/pr153490/readme.txt View File

to regenerate jarForFoo.jar: ajc A.aj -outjar required.jar -1.5 -noExit

to regenerate jarForBar.jar: ajc A2.aj -outjar jarForBar.jar -1.5 -noExit

to regenerate jarForGoo.jar: ajc C.java -outjar jarForGoo.jar -1.5 -noExit

BIN
tests/bugs153/pr153490/required.jar View File


Loading…
Cancel
Save