From 3ed93c6d54e8a54c75398d341d5bd081d913aa3b Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 7 May 2004 08:21:22 +0000 Subject: [PATCH] Tests for Bugzilla Bug 59778 InterTypeMethodDeclaration.java:104 --- tests/ajcTests.xml | 10 ++++++++++ tests/bugs/compileOrdering/B.java | 6 ++++++ tests/bugs/compileOrdering/D.java | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 tests/bugs/compileOrdering/B.java create mode 100644 tests/bugs/compileOrdering/D.java diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index 3f9e7cc1c..0c64c5dd2 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -7689,4 +7689,14 @@ + + + + + + + + diff --git a/tests/bugs/compileOrdering/B.java b/tests/bugs/compileOrdering/B.java new file mode 100644 index 000000000..faf391c8a --- /dev/null +++ b/tests/bugs/compileOrdering/B.java @@ -0,0 +1,6 @@ +public abstract aspect B { + public void C.method(Serializable s) { //error: Serializable not imported + } +} +class C { +} diff --git a/tests/bugs/compileOrdering/D.java b/tests/bugs/compileOrdering/D.java new file mode 100644 index 000000000..324c50e1c --- /dev/null +++ b/tests/bugs/compileOrdering/D.java @@ -0,0 +1,2 @@ +class D { } + -- 2.39.5