]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
java: Bump to Java 8
authorKevin Cernekee <cernekee@gmail.com>
Fri, 2 Feb 2018 04:47:15 +0000 (20:47 -0800)
committerKevin Cernekee <cernekee@gmail.com>
Mon, 12 Feb 2018 03:39:14 +0000 (19:39 -0800)
This fixes the following warnings:

    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release

Java 8 was released in 2014 so it should be widely available now.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
java/build.xml

index 7c7cb8107f8683318c366bfb95e82ce272a35e05..a0ba4651b0eabfddd7ceee90771cea662662604c 100644 (file)
@@ -12,7 +12,7 @@
 
        <target name="compile" depends="init">
                <javac srcdir="${src}" destdir="${build}" encoding="utf-8"
-                      source="1.5" target="1.5" includeantruntime="false"/>
+                      source="1.8" target="1.8" includeantruntime="false"/>
        </target>
 
        <target name="dist" depends="compile">