forked from pool/mysql-connector-java
17 lines
896 B
Diff
17 lines
896 B
Diff
|
Index: mysql-connector-java-5.1.35/build.xml
|
||
|
===================================================================
|
||
|
--- mysql-connector-java-5.1.35.orig/build.xml
|
||
|
+++ mysql-connector-java-5.1.35/build.xml
|
||
|
@@ -267,10 +267,7 @@ Java 6 (for JDBC4+ implementation) is al
|
||
|
<fail message="Java 6 (for JDBC4+ implementation) is required. Set the full path to this JDK home with the property 'com.mysql.jdbc.jdk6'. Default: '/usr/lib/jvm/jdk1.6'.">
|
||
|
<condition>
|
||
|
<not>
|
||
|
- <and>
|
||
|
- <equals arg1="${jdk6checkexitstatus}" arg2="0" />
|
||
|
- <contains string="${com.mysql.jdbc.jdk6.version}" substring="java version "1.6" casesensitive="true" />
|
||
|
- </and>
|
||
|
+ <equals arg1="${jdk6checkexitstatus}" arg2="0" />
|
||
|
</not>
|
||
|
</condition>
|
||
|
</fail>
|