]> source.dussan.org Git - aspectj.git/commitdiff
oops
authoraclement <aclement>
Wed, 1 Feb 2006 15:38:11 +0000 (15:38 +0000)
committeraclement <aclement>
Wed, 1 Feb 2006 15:38:11 +0000 (15:38 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java

index e0d3d79ba24a8be45e6f3ef9a2d2f3ae46ec28eb..8409b0e58452218373cfe146048d6eaa125dbafa 100644 (file)
@@ -437,16 +437,17 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC
      * Return true if the declaration has @Aspect annotation
      */
        private boolean isAnnotationStyleAspectDeclaration(TypeDeclaration dec) { 
-        Annotation[] annotations = dec.annotations;
-        boolean isAtAspect = false;
-        if (annotations != null) {
-                       for (int i = 0; i < annotations.length  && !isAtAspect; i++) {
-                               if (annotations[i].resolvedType.debugName().equals("org.aspectj.lang.annotation.Aspect")) {
-                                       isAtAspect = true;
-                               }
-                       }
-               }
-        return isAtAspect;
+               return false;
+//        Annotation[] annotations = dec.annotations;
+//        boolean isAtAspect = false;
+//        if (annotations != null) {
+//                     for (int i = 0; i < annotations.length  && !isAtAspect; i++) {
+//                             if (annotations[i].resolvedType.debugName().equals("org.aspectj.lang.annotation.Aspect")) {
+//                                     isAtAspect = true;
+//                             }
+//                     }
+//             }
+//        return isAtAspect;
        }
 
        private void buildInterTypeAndPerClause(ClassScope s) {
index d47e36d8f6977a971f2a7e7fb6b945e103d6eb73..a6a1d54f573c5cca5fb3c78b9f5ada24c321f29a 100644 (file)
@@ -77,10 +77,10 @@ public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
 //  public void testAtAspectInheritsAdviceWithTJPAndThis_pr125699 () {
 //       runTest("inherit adivce with this() and thisJoinPoint"); 
 //  }
-  
-  public void testAtAspectInheritsAbstractPointcut_pr125810 () {
-         runTest("warning when inherited pointcut not made concrete"); 
-  }
+//  
+//  public void testAtAspectInheritsAbstractPointcut_pr125810 () {
+//       runTest("warning when inherited pointcut not made concrete"); 
+//  }
   
   /*
    * Load-time weaving bugs and enhancements