forked from pool/mysql-connector-java
* javac-check.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=34
17 lines
897 B
Diff
17 lines
897 B
Diff
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
|
|
@@ -303,10 +303,7 @@ Java 8 (for JDBC 4+ implementation) is a
|
|
<fail message="Java 8 (for JDBC 4+ implementation) is required. Set the full path to this JDK home with the property 'com.mysql.jdbc.jdk8'. Default: '/usr/lib/jvm/jdk1.8'.">
|
|
<condition>
|
|
<not>
|
|
- <and>
|
|
- <equals arg1="${jdk8checkexitstatus}" arg2="0" />
|
|
- <contains string="${com.mysql.jdbc.jdk8.version}" substring="java version "1.8" casesensitive="true" />
|
|
- </and>
|
|
+ <equals arg1="${jdk8checkexitstatus}" arg2="0" />
|
|
</not>
|
|
</condition>
|
|
</fail>
|