mysql-connector-java/no-jdk5-requirement.patch

32 lines
1.3 KiB
Diff
Raw Normal View History

Index: mysql-connector-java-5.1.42/build.xml
===================================================================
--- mysql-connector-java-5.1.42.orig/build.xml
+++ mysql-connector-java-5.1.42/build.xml
@@ -255,7 +255,7 @@ com.mysql.jdbc.noCleanBetweenCompiles=ye
<!-- Check for required JDKs for compilation. -->
- <target name="-compiler-check" depends="-jdk5-check, -jdk8-check, -jre6-rtjar-check" />
+ <target name="-compiler-check" depends="-jdk8-check, -jre6-rtjar-check" />
<!-- Check for required JDK5 for compilation of JDBC 3 implementation. -->
@@ -854,7 +854,7 @@ Java 8 (for JDBC 4+ implementation) is a
deprecation="off"
debug="${debug.enable}"
fork="yes"
- executable="${com.mysql.jdbc.jdk5.javac}"
+ executable="${com.mysql.jdbc.jdk6.javac}"
compiler="modern"
includeantruntime="false"
source="1.5"
@@ -929,7 +929,7 @@ Java 8 (for JDBC 4+ implementation) is a
deprecation="off"
debug="${debug.enable}"
fork="yes"
- executable="${com.mysql.jdbc.jdk5.javac}"
+ executable="${com.mysql.jdbc.jdk6.javac}"
compiler="modern"
includeantruntime="false"
source="1.5"