Bug 527569 - [9] Add --release option to Java Compiler
preference/properties page

Change-Id: I4ba3c8d9ea621b30772a6f4a2cc1d90540f673c0
Signed-off-by: kalyan prasad <kalyan_prasad@in.ibm.com>
diff --git a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/environments/ExecutionEnvironment.java b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/environments/ExecutionEnvironment.java
index 06c30c6..1403038 100644
--- a/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/environments/ExecutionEnvironment.java
+++ b/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/environments/ExecutionEnvironment.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- *  Copyright (c) 2005, 2017 IBM Corporation and others.
+ *  Copyright (c) 2005, 2018 IBM Corporation and others.
  *  All rights reserved. This program and the accompanying materials
  *  are made available under the terms of the Eclipse Public License v1.0
  *  which accompanies this distribution, and is available at
@@ -471,6 +471,7 @@
 			profile.setProperty(JavaCore.COMPILER_COMPLIANCE, JavaCore.VERSION_9);
 			profile.setProperty(JavaCore.COMPILER_SOURCE, JavaCore.VERSION_9);
 			profile.setProperty(JavaCore.COMPILER_CODEGEN_TARGET_PLATFORM, JavaCore.VERSION_9);
+			profile.setProperty(JavaCore.COMPILER_RELEASE, JavaCore.ENABLED);
 		}
 	}