From af3c9f96769fd9a517f688e64706903dca63ade9 Mon Sep 17 00:00:00 2001 From: jhugunin Date: Thu, 10 Apr 2003 21:34:56 +0000 Subject: [PATCH] fix for Bugzilla Bug 35688 ajc1.1rc1 fail to find types that are actually in JACK jar file and abort still need test case --- .../ajdt/internal/compiler/lookup/EclipseFactory.java | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.39.5