Browse Source

353900: Java7

tags/V1_6_12M2
aclement 12 years ago
parent
commit
9cf7c54c19

+ 3
- 1
ajde.core/src/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java View 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);

Loading…
Cancel
Save