From 3bca65cc0bd3c3d5763b315b3df0baa4327b78b3 Mon Sep 17 00:00:00 2001 From: mkersten Date: Tue, 22 Jul 2003 15:59:22 +0000 Subject: [PATCH] changed default compiler behavior to ignore unreachable code (matching Javac) --- .../org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5