Java: enable Java 8 features 87/17187/3
Clément DAVID [Thu, 10 Sep 2015 09:10:28 +0000 (11:10 +0200)]
For more information, see :
  * http://docs.oracle.com/javase/7/docs/technotes/guides/language/enhancements.html#javase7
  * http://docs.oracle.com/javase/8/docs/technotes/guides/language/enhancements.html#javase8

Change-Id: I2240829500915a286a7efc6597fe61f70175eac3

scilab/build.incl.xml

index 2f5278c..b0d67cf 100644 (file)
     </target>
     <!-- Compile sources -->
     <target name="compile" description="Build sources" depends="init">
-        <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="compile.classpath" deprecation="on" debug="${build.debug}" debuglevel="lines,vars,source" verbose="off" listfiles="on" includeAntRuntime="no" source="6" target="6" encoding="utf-8">
+        <javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="compile.classpath" deprecation="on" debug="${build.debug}" debuglevel="lines,vars,source" verbose="off" listfiles="on" includeAntRuntime="no" source="8" target="8" encoding="utf-8">
             <compilerarg value="-Xlint" />
             <!--  Silent some warnings -->
             <compilerarg value="-Xlint:-unchecked" />
             <compilerarg value="-Xlint:-serial" />
             <!--  Silent warning about the serializable -->
             <compilerarg value="-Xlint:-options" />
-            <!-- Silent 'bootstrap class path not set in conjunction with -source 1.6'. We don't want to manage the detection of rt.jar. See https://blogs.oracle.com/darcy/entry/bootclasspath_older_source -->
         </javac>
     </target>