]> source.dussan.org Git - aspectj.git/commitdiff
extending coverage for [Bug 35593] Problem with priviliged aspects
authorjhugunin <jhugunin>
Thu, 10 Apr 2003 18:39:26 +0000 (18:39 +0000)
committerjhugunin <jhugunin>
Thu, 10 Apr 2003 18:39:26 +0000 (18:39 +0000)
tests/ajcTests.xml
tests/new/privilegedAspects/driver/PrivilegedAspect.java

index 28550b0cf800a2e403d231bac5181681264db1f7..2d00cf805df024e235412433d89887009d9f13bf 100644 (file)
         <run class="AspectOf"/>
     </ajc-test>
 
-    <ajc-test dir="new/privilegedAspects"
+    <ajc-test dir="new/privilegedAspects" pr="35593"
       title="access to all members of class and inner class from privileged aspect"
       keywords="from-resolved_10x">
         <compile
index e29dffc17adbcafbdb71cf6e956f741e86b5ac7f..cd93fedeeb89be846bf580bbbc767726bfaa2d32 100644 (file)
@@ -116,4 +116,11 @@ public privileged aspect PrivilegedAspect {
         defaultInnerTarget.defaultDefaultInnerMethod();
         defaultInnerTarget.privateDefaultInnerMethod();
     }
+    
+    // added for Bugzilla Bug 35593  
+       // Problem with priviliged aspects 
+    public static void foo(pack.DefaultTarget t) {
+    }
+    
+    before(pack.DefaultTarget t): call(void mumble()) && this(t) {}
 }