mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-22 18:55:29 +03:00
27 lines
990 B
Diff
27 lines
990 B
Diff
This patch changes the language level for javac compiler
|
|
to 1.6 as 1.4 is no longer supported in newer jdk versions.
|
|
|
|
Author: Simon Frankenberger <simon-alpine@fraho.eu>
|
|
|
|
--- old/bindings/java/build.xml
|
|
+++ new/bindings/java/build.xml
|
|
@@ -96,7 +96,7 @@
|
|
<classpath refid="alljars"/>
|
|
</available>
|
|
<javac destdir="${build}/classes"
|
|
- source="1.4" target="1.4"
|
|
+ source="1.6" target="1.6"
|
|
sourcepath=""
|
|
debug="true"
|
|
classpathref="libjars">
|
|
--- old/bindings/java/hyperic_jni/jni-build.xml
|
|
+++ new/bindings/java/hyperic_jni/jni-build.xml
|
|
@@ -161,7 +161,7 @@
|
|
<echo message="jni.src=${jni.src}, jni.jdk.os=${jni.jdk.os}, ${sun.arch.data.model}-bit"/>
|
|
|
|
<javac srcdir="${jni.src.java}" destdir="${build}/classes" debug="true"
|
|
- source="1.4" target="1.4"
|
|
+ source="1.6" target="1.6"
|
|
includes="org/hyperic/jni/*.java"/>
|
|
|
|
<taskdef name="libarch" classname="org.hyperic.jni.ArchNameTask">
|