aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/PrivilegedHandler.java9
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java2
2 files changed, 10 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/PrivilegedHandler.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/PrivilegedHandler.java
index dfa8af816..640df12b0 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/PrivilegedHandler.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/PrivilegedHandler.java
@@ -49,6 +49,13 @@ public class PrivilegedHandler implements IPrivilegedHandler {
return ret;
}
+ public void notePrivilegedTypeAccess(ReferenceBinding type) {
+ ResolvedMember key =
+ new ResolvedMember(Member.STATIC_INITIALIZATION,
+ inAspect.world.fromEclipse(type), 0, ResolvedTypeX.VOID, "", TypeX.NONE);
+ accessors.put(key, key);
+ }
+
public ResolvedMember[] getMembers() {
Collection m = accessors.keySet();
int len = m.size();
@@ -60,4 +67,6 @@ public class PrivilegedHandler implements IPrivilegedHandler {
return ret;
}
+
+
}
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
index 43ebe361d..168c9808e 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
@@ -41,7 +41,7 @@ import org.eclipse.jdt.internal.compiler.util.CharOperation;
* @author Jim Hugunin
*/
public class AjProblemReporter extends ProblemReporter {
- private static final boolean DUMP_STACK = false;
+ private static final boolean DUMP_STACK = true;
public EclipseWorld world;