Project: AspectJ
Bug 67578 Privileged Aspect Access Problem Across Packages
Reported: 2004-06-17 01:45:19 | Status: resolved fixed

From Irum Godil's aspectj-users posting: package a; public class ITD { private void returnNothing(Object a) { } } package b; import a.*; privileged aspect B { public void ITD.newFun() { returnNothing("a"); } } returns: C:\devel\test\priv\b\B.aj:8 error The method returnNothing(Object) from the type ITD is not visible returnNothing("a"); ^^^^^^ 1 error Which it should not (and AspectJ 1.0.6 does not give an error) Work around: use this.returnNothing("a");

Files changed in fix:
tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java