LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File subversion.java14.patch of Package subversion (Project openSUSE:Evergreen:11.2)

---
 configure.ac                               |    2 +-
 subversion/bindings/javahl/build/build.xml |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

--- a/configure.ac
+++ b/configure.ac
@@ -539,7 +539,7 @@ fi
 AC_PATH_PROGS(PYTHON, "$PYTHON", none)
 
 # The minimum version for the JVM runtime for our Java bytecode.
-JAVA_OLDEST_WORKING_VER='1.2'
+JAVA_OLDEST_WORKING_VER='1.4'
 # SVN_CHECK_JDK sets $JAVA_CLASSPATH
 SVN_CHECK_JDK($JAVA_OLDEST_WORKING_VER)
 
--- a/subversion/bindings/javahl/build/build.xml
+++ b/subversion/bindings/javahl/build/build.xml
@@ -21,7 +21,7 @@
 
     <target name="compile" unless="junit.path"
             description="Compile the Java binding source files">
-        <javac compiler="modern" destdir="classes">
+        <javac source="1.4" target="1.4" destdir="classes">
             <src path="src"/>
             <exclude name="org/tigris/subversion/javahl/tests/**"/>
         </javac>
@@ -29,7 +29,7 @@
 
     <target name="compile-tests" if="junit.path"
             description="Compile the Java test source files">
-        <javac compiler="modern" destdir="classes">
+        <javac source="1.4" target="1.4" destdir="classes">
             <src path="src"/>
             <classpath path="${junit.path}"/>
         </javac>