mysql-connector-java/javac-check.patch

15 lines
899 B
Diff
Raw Permalink Normal View History

Description: Disable the JDK check
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.xml
+++ b/build.xml
@@ -400,7 +400,7 @@ See also com.mysql.cj.conf.PropertyDefin
Accepting request 1041322 from home:david.anes:branches:Java:packages - Rebased javac-check.patch to new build.xml. - Changed ant target from "dist" to "build", as it's been renamed. - As Oracle renamed the package to "mysql-connector-j", we are "providing" both names for now, but the package has to be renamed to accommodate the change because the old name will be deprecated at some point in the future without further notice. - Update to 8.0.31: Functionality Added or Changed * Important Change: To comply with proper naming guidelines, the Maven groupId and artifactId for Connector/J have been changed to the following starting with this release: groupId: com.mysql artifactId: mysql-connector-j * The old groupId and artifactId can still be used for linking the Connector/J library, but they will point to a Maven relocation POM, redirecting users to the new coordinates. Please switch to the new coordinates as soon as possible, as the old coordinates could be discontinued anytime without notice. See Installing Connector/J Using Maven. * Also, to go with these changes, the .jar library for Connector/J has been renamed to mysql-connector-j-x.y.z for all channels of distribution by Oracle, not just the Maven repository. * Before release 8.0.29, Connector/J always interpolated byte arrays as hexadecimal literals when obtaining a prepared statement's string representation by the toString() method. Since 8.0.29, all byte array values were displayed as ** BYTE ARRAY DATA ** when converted to strings. The same is also true for null values. * To allow different ways to display byte array data and null OBS-URL: https://build.opensuse.org/request/show/1041322 OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=71
2022-12-08 14:24:10 +01:00
<!-- Initialize the build directory and check requirements for compiling the driver code. -->
- <target name="-init" depends="-extra-libs-check, -compiler-check, -copy-files, -copy-notices-commercial, -copy-notices-gpl, -init-info-files">
+ <target name="-init" depends="-extra-libs-check, -copy-files, -copy-notices-commercial, -copy-notices-gpl, -init-info-files">
<!-- The following is needed as the classpath can't be modified dynamically, and not having this library present causes the build to fail. -->
<available property="com.mysql.cj.c3p0Present" classname="com.mchange.v2.c3p0.QueryConnectionTester" classpathref="com.mysql.cj.build.classpath" />
</target>