]> source.dussan.org Git - aspectj.git/commitdiff
changed default compiler behavior to ignore unreachable code (matching Javac)
authormkersten <mkersten>
Tue, 22 Jul 2003 15:59:22 +0000 (15:59 +0000)
committermkersten <mkersten>
Tue, 22 Jul 2003 15:59:22 +0000 (15:59 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java

index 51676039d77d7f78c7988cc304b75fcecea4a5c4..7c1e3339645526d2145f74912c4c86d70b5b53db 100644 (file)
@@ -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);