Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2017-10-01 18:19:54 -0400
committerFred Bricon2017-10-01 18:22:19 -0400
commit1f299d8e8140e198880d08d299df5177460d5d8f (patch)
treea15dbdc8e90cc8b6cde8c36aeeaf7111333e2945 /org.eclipse.m2e.jdt
parentf98f3196a1d8c2ebb2955490841e0d8e9b7a6a47 (diff)
downloadm2e-core-1f299d8e8140e198880d08d299df5177460d5d8f.tar.gz
m2e-core-1f299d8e8140e198880d08d299df5177460d5d8f.tar.xz
m2e-core-1f299d8e8140e198880d08d299df5177460d5d8f.zip
525365 remove maven.compiler.source/target support for 1.9
Change-Id: I2d76be1cb8e3f11d3e20275c900b1c8e766c68f7 Signed-off-by: Fred Bricon <fbricon@gmail.com>
Diffstat (limited to 'org.eclipse.m2e.jdt')
-rw-r--r--org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
index 511795ff..645d695f 100644
--- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
+++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
@@ -77,11 +77,10 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
protected static final List<String> RELEASES = Arrays.asList("6,7,8,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
- protected static final List<String> SOURCES = Arrays
- .asList("1.1,1.2,1.3,1.4,1.5,5,1.6,6,1.7,7,1.8,8,1.9,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
+ protected static final List<String> SOURCES = Arrays.asList("1.1,1.2,1.3,1.4,1.5,5,1.6,6,1.7,7,1.8,8,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
protected static final List<String> TARGETS = Arrays
- .asList("1.1,1.2,1.3,1.4,jsr14,1.5,5,1.6,6,1.7,7,1.8,8,1.9,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
+ .asList("1.1,1.2,1.3,1.4,jsr14,1.5,5,1.6,6,1.7,7,1.8,8,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
private static final String GOAL_RESOURCES = "resources";
@@ -103,7 +102,6 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
ENVIRONMENTS.put("1.6", "JavaSE-1.6"); //$NON-NLS-1$ //$NON-NLS-2$
ENVIRONMENTS.put("1.7", "JavaSE-1.7"); //$NON-NLS-1$ //$NON-NLS-2$
ENVIRONMENTS.put("1.8", "JavaSE-1.8"); //$NON-NLS-1$ //$NON-NLS-2$
- ENVIRONMENTS.put("1.9", "JavaSE-9"); //$NON-NLS-1$ //$NON-NLS-2$ //will most likely go away
ENVIRONMENTS.put("9", "JavaSE-9"); //$NON-NLS-1$ //$NON-NLS-2$
}
@@ -561,9 +559,6 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
private String sanitizeJavaVersion(String version) {
switch(version) {
- case "1.9":
- version = version.substring(2);
- break;
case "5":
case "6":
case "7":

Back to the top