From 8413359b37dce1f999017935007e6ce56f0fe641 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 21 Aug 2008 18:00:22 +0000 Subject: [PATCH] 210114: test and fix: errors for compiler limitations become warnings --- weaver/src/org/aspectj/weaver/Advice.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/Advice.java b/weaver/src/org/aspectj/weaver/Advice.java index 0f5a8e7de..6efb959af 100644 --- a/weaver/src/org/aspectj/weaver/Advice.java +++ b/weaver/src/org/aspectj/weaver/Advice.java @@ -159,12 +159,12 @@ public abstract class Advice extends ShadowMunger { return shadow.hasThis(); } else if (kind == AdviceKind.Around) { if (shadow.getKind() == Shadow.PreInitialization) { - world.showMessage(IMessage.ERROR, + world.showMessage(IMessage.WARNING, WeaverMessages.format(WeaverMessages.AROUND_ON_PREINIT), getSourceLocation(), shadow.getSourceLocation()); return false; } else if (shadow.getKind() == Shadow.Initialization) { - world.showMessage(IMessage.ERROR, + world.showMessage(IMessage.WARNING, WeaverMessages.format(WeaverMessages.AROUND_ON_INIT), getSourceLocation(), shadow.getSourceLocation()); return false; -- 2.39.5