From b80f821c76cca5f142321d002396b94625898926 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 17 Jan 2008 00:08:30 +0000 Subject: [PATCH] AspectJ6: picking up compiler interface changes --- .../ajdt/internal/compiler/problem/AjProblemReporter.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 448e54381..467e9272f 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 @@ -49,6 +49,7 @@ import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TagBits; import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding; import org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemReporter; +import org.aspectj.org.eclipse.jdt.internal.compiler.problem.ProblemSeverities; import org.aspectj.util.FuzzyBoolean; import org.aspectj.weaver.AjcMemberMaker; import org.aspectj.weaver.ConcreteTypeMunger; @@ -292,7 +293,7 @@ public class AjProblemReporter extends ProblemReporter { ReferenceContext referenceContext, CompilationResult unitResult) { - if (severity != Ignore && DUMP_STACK) { + if (severity != ProblemSeverities.Ignore && DUMP_STACK) { Thread.dumpStack(); } super.handle( @@ -509,7 +510,7 @@ public class AjProblemReporter extends ProblemReporter { public IProblem createProblem(char[] fileName, int problemId, String[] problemArguments, String[] messageArguments, int severity, int problemStartPosition, int problemEndPosition, int lineNumber) { IProblem problem = super.createProblem(fileName, problemId, problemArguments, messageArguments, severity, problemStartPosition, problemEndPosition, - lineNumber); + lineNumber,0); if (factory.getWorld().isInPinpointMode()) { MessageIssued ex = new MessageIssued(); ex.fillInStackTrace(); -- 2.39.5