Releng : DTP should require Java 8
For Neon, the platform is requiring Java 8. It makes sense to do the
same in DTP as that will simplify the build, which currently requires
multiple versions of JDK. DTP bundles currently specify Java 5, Java 6
or simply don't specify Bundle-RequiredExecutionEnvironment.
This change specifies Java 8 as the required environment for all DTP
bundles and includes enforcement of this in the build. Several classes
also had to be updated as some java.sql interfaces have acquired new
methods in Java 7 and/or 8, which affected implementation of these
interfaces included in DTP. Presumably, these implementation haven't
been working in past releases of DTP if the user happens to run Eclipse
with Java 7 or 8.
Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479870
diff --git a/plugins/org.eclipse.datatools.modelbase.sql.edit/META-INF/MANIFEST.MF b/plugins/org.eclipse.datatools.modelbase.sql.edit/META-INF/MANIFEST.MF
index 2e940a2..df9c711 100644
--- a/plugins/org.eclipse.datatools.modelbase.sql.edit/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.datatools.modelbase.sql.edit/META-INF/MANIFEST.MF
@@ -23,4 +23,4 @@
org.eclipse.emf.ecore.edit;bundle-version="[2.2.0,3.0.0)";visibility:=reexport
Eclipse-LazyStart: true
Bundle-ActivationPolicy: lazy
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8