From: mkersten Date: Tue, 22 Jul 2003 15:59:22 +0000 (+0000) Subject: changed default compiler behavior to ignore unreachable code (matching Javac) X-Git-Tag: V1_1_1~219 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3bca65cc0bd3c3d5763b315b3df0baa4327b78b3;p=aspectj.git changed default compiler behavior to ignore unreachable code (matching Javac) --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java index 51676039d..7c1e33396 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java @@ -88,7 +88,7 @@ public class AjBuildConfig { // XXX needs bootclasspath? CompilerOptions.OPTIMIZE_OUT); javaOptions.put( CompilerOptions.OPTION_ReportUnreachableCode, - CompilerOptions.ERROR); + CompilerOptions.IGNORE); javaOptions.put( CompilerOptions.OPTION_ReportInvalidImport, CompilerOptions.ERROR);