]> source.dussan.org Git - aspectj.git/commitdiff
fix for Bugzilla Bug 35688
authorjhugunin <jhugunin>
Thu, 10 Apr 2003 21:34:56 +0000 (21:34 +0000)
committerjhugunin <jhugunin>
Thu, 10 Apr 2003 21:34:56 +0000 (21:34 +0000)
   ajc1.1rc1 fail to find types that are actually in JACK jar file and abort
still need test case

org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java

index 38241181bd0b227d05f940352cd5f5d47dc24d39..76de3640912c3ebe714654462b250147237b291d 100644 (file)
@@ -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) {