File remove_waffle-jna.patch of Package mariadb-java-client

diff --git a/src/main/java/org/mariadb/jdbc/internal/com/send/authentication/gssapi/GssUtility.java b/src/main/java/org/mariadb/jdbc/internal/com/send/authentication/gssapi/GssUtility.java
index 15c61c85..7276e91e 100644
--- a/src/main/java/org/mariadb/jdbc/internal/com/send/authentication/gssapi/GssUtility.java
+++ b/src/main/java/org/mariadb/jdbc/internal/com/send/authentication/gssapi/GssUtility.java
@@ -5,25 +5,12 @@ import com.sun.jna.Platform;
 public class GssUtility {
 
   /**
-   * Get authentication method according to classpath. Windows native authentication is using
-   * Waffle-jna.
+   * Get authentication method according to classpath.
+   *
    *
    * @return authentication method
    */
   public static GssapiAuth getAuthenticationMethod() {
-    try {
-      //Waffle-jna has jna as dependency, so if not available on classpath, just use standard authentication
-      if (Platform.isWindows()) {
-        try {
-          Class.forName("waffle.windows.auth.impl.WindowsAuthProviderImpl");
-          return new WindowsNativeSspiAuthentication();
-        } catch (ClassNotFoundException cle) {
-          //waffle not in the classpath
-        }
-      }
-    } catch (Throwable cle) {
-      //jna jar's are not in classpath
-    }
     return new StandardGssapiAuthentication();
   }
 
openSUSE Build Service is sponsored by