aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/testsrc
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-03-06 00:24:39 +0000
committerjhugunin <jhugunin>2003-03-06 00:24:39 +0000
commitd1e5c0a57c5da220b8f7357550db84f1009dbe2e (patch)
tree2d6477529a9b1783f66cd52010e0fd2ef0df43fc /weaver/testsrc
parent3556a2a33100520c708c71b786e87f086234ddfa (diff)
downloadaspectj-d1e5c0a57c5da220b8f7357550db84f1009dbe2e.tar.gz
aspectj-d1e5c0a57c5da220b8f7357550db84f1009dbe2e.zip
FIXED: Bugzilla Bug 32463
ajc reports error when encountering static declaration of nested classes
Diffstat (limited to 'weaver/testsrc')
-rw-r--r--weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java b/weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
index cc1af29c6..19b364792 100644
--- a/weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
+++ b/weaver/testsrc/org/aspectj/weaver/TypeXTestCase.java
@@ -58,8 +58,8 @@ public class TypeXTestCase extends TestCase {
TypeX t = TypeX.forName("java.util.Map$Entry");
assertEquals(t.getName(), "java.util.Map$Entry");
assertEquals(t.getSignature(), "Ljava/util/Map$Entry;");
- assertEquals(t.getDeclaringType(), TypeX.forName("java.util.Map"));
- assertNull(TypeX.forName("java.util.Map").getDeclaringType());
+ assertEquals(t.getOutermostType(), TypeX.forName("java.util.Map"));
+ assertEquals(TypeX.forName("java.util.Map").getOutermostType(), TypeX.forName("java.util.Map"));
}
private void isPrimitiveTest(TypeX[] types, boolean[] isPrimitives) {