From: aclement Date: Thu, 21 Aug 2008 18:00:22 +0000 (+0000) Subject: 210114: test and fix: errors for compiler limitations become warnings X-Git-Tag: V162DEV_M1~97 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8413359b37dce1f999017935007e6ce56f0fe641;p=aspectj.git 210114: test and fix: errors for compiler limitations become warnings --- 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;