]> source.dussan.org Git - aspectj.git/commitdiff
353900: Java7
authoraclement <aclement>
Fri, 12 Aug 2011 23:17:39 +0000 (23:17 +0000)
committeraclement <aclement>
Fri, 12 Aug 2011 23:17:39 +0000 (23:17 +0000)
ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java

index 72887ba19bf0dbd72761b11ad95bf3a83f6348eb..94612b979dd79d887142a5f96fcd308367cfd3eb 100644 (file)
@@ -301,7 +301,9 @@ public class AjdeCoreBuildManager {
                Map jom = compilerConfig.getJavaOptionsMap();
                if (jom != null) {
                        String version = (String) jom.get(CompilerOptions.OPTION_Compliance);
-                       if (version != null && (version.equals(CompilerOptions.VERSION_1_5) || version.equals(CompilerOptions.VERSION_1_6))) {
+                       if (version != null
+                                       && (version.equals(CompilerOptions.VERSION_1_5) || version.equals(CompilerOptions.VERSION_1_6) || version
+                                                       .equals(CompilerOptions.VERSION_1_7))) {
                                config.setBehaveInJava5Way(true);
                        }
                        config.getOptions().set(jom);