diff options
author | jhugunin <jhugunin> | 2003-04-10 18:39:26 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-04-10 18:39:26 +0000 |
commit | 72b3c0a4539f77d1f287f790c1318d682613bdb5 (patch) | |
tree | a0ace79fa166b772d2e40e00d7a1920636298687 | |
parent | ed658901f46c3ef24035791a1e33b23ef19f854a (diff) | |
download | aspectj-72b3c0a4539f77d1f287f790c1318d682613bdb5.tar.gz aspectj-72b3c0a4539f77d1f287f790c1318d682613bdb5.zip |
extending coverage for [Bug 35593] Problem with priviliged aspects
-rw-r--r-- | tests/ajcTests.xml | 2 | ||||
-rw-r--r-- | tests/new/privilegedAspects/driver/PrivilegedAspect.java | 7 |
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) {} } |