mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
![aclement](/assets/img/avatar_default.png)
Bugzilla Bug 67578: Privileged Aspect Access Problem Across Packages Bugzilla Bug 67579: NPE on privileged aspect error
12 lines
223 B
Plaintext
12 lines
223 B
Plaintext
|
|
|
|
privileged aspect B {
|
|
void blah(ITD x) { x.returnNothing("y"); }
|
|
|
|
public static void main(String[]argv) {
|
|
ITD a = new ITD();
|
|
a.returnNothing("a");
|
|
System.err.println("Call returned OK!");
|
|
}
|
|
}
|