From: jhugunin Date: Thu, 10 Apr 2003 21:34:56 +0000 (+0000) Subject: fix for Bugzilla Bug 35688 X-Git-Tag: V1_1_0_RC2~182 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=af3c9f96769fd9a517f688e64706903dca63ade9;p=aspectj.git fix for Bugzilla Bug 35688 ajc1.1rc1 fail to find types that are actually in JACK jar file and abort still need test case --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java index 38241181b..76de36409 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java @@ -92,6 +92,11 @@ public class EclipseFactory { private static String getName(TypeBinding binding) { + if (binding instanceof ReferenceBinding) { + return new String( + CharOperation.concatWith(((ReferenceBinding)binding).compoundName, '.')); + } + String packageName = new String(binding.qualifiedPackageName()); String className = new String(binding.qualifiedSourceName()).replace('.', '$'); if (packageName.length() > 0) {