aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-04-10 18:39:26 +0000
committerjhugunin <jhugunin>2003-04-10 18:39:26 +0000
commit72b3c0a4539f77d1f287f790c1318d682613bdb5 (patch)
treea0ace79fa166b772d2e40e00d7a1920636298687
parented658901f46c3ef24035791a1e33b23ef19f854a (diff)
downloadaspectj-72b3c0a4539f77d1f287f790c1318d682613bdb5.tar.gz
aspectj-72b3c0a4539f77d1f287f790c1318d682613bdb5.zip
extending coverage for [Bug 35593] Problem with priviliged aspects
-rw-r--r--tests/ajcTests.xml2
-rw-r--r--tests/new/privilegedAspects/driver/PrivilegedAspect.java7
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index 28550b0cf..2d00cf805 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -3864,7 +3864,7 @@
<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
diff --git a/tests/new/privilegedAspects/driver/PrivilegedAspect.java b/tests/new/privilegedAspects/driver/PrivilegedAspect.java
index e29dffc17..cd93fedee 100644
--- a/tests/new/privilegedAspects/driver/PrivilegedAspect.java
+++ b/tests/new/privilegedAspects/driver/PrivilegedAspect.java
@@ -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) {}
}