-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump org.mariadb.jdbc:mariadb-java-client from 3.5.0 to 3.5.1
Bumps [org.mariadb.jdbc:mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 3.5.0 to 3.5.1. - [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases) - [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md) - [Commits](mariadb-corporation/mariadb-connector-j@3.5.0...3.5.1) --- updated-dependencies: - dependency-name: org.mariadb.jdbc:mariadb-java-client dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: George Gastaldi <[email protected]>
- Loading branch information
1 parent
1bc6cb9
commit fec0f50
Showing
3 changed files
with
31 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...in/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacketFactory_Substitutions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package io.quarkus.jdbc.mariadb.runtime.graal; | ||
|
||
import org.mariadb.jdbc.Configuration; | ||
import org.mariadb.jdbc.HostAddress; | ||
import org.mariadb.jdbc.plugin.AuthenticationPlugin; | ||
import org.mariadb.jdbc.plugin.authentication.standard.SendPamAuthPacketFactory; | ||
|
||
import com.oracle.svm.core.annotate.Substitute; | ||
import com.oracle.svm.core.annotate.TargetClass; | ||
|
||
/** | ||
* The SendPamAuthPacketFactory class is not supported in native mode. | ||
*/ | ||
@TargetClass(SendPamAuthPacketFactory.class) | ||
public final class SendPamAuthPacketFactory_Substitutions { | ||
|
||
@Substitute | ||
public AuthenticationPlugin initialize(String authenticationData, byte[] seed, Configuration conf, | ||
HostAddress hostAddress) { | ||
throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM"); | ||
} | ||
|
||
} |
28 changes: 7 additions & 21 deletions
28
.../src/main/java/io/quarkus/jdbc/mariadb/runtime/graal/SendPamAuthPacket_Substitutions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,15 @@ | ||
package io.quarkus.jdbc.mariadb.runtime.graal; | ||
|
||
import java.io.IOException; | ||
import java.sql.SQLException; | ||
import org.mariadb.jdbc.plugin.authentication.standard.SendPamAuthPacket; | ||
|
||
import org.mariadb.jdbc.Configuration; | ||
import org.mariadb.jdbc.HostAddress; | ||
import org.mariadb.jdbc.client.Context; | ||
import org.mariadb.jdbc.client.ReadableByteBuf; | ||
import org.mariadb.jdbc.client.socket.Reader; | ||
import org.mariadb.jdbc.client.socket.Writer; | ||
|
||
import com.oracle.svm.core.annotate.Substitute; | ||
import com.oracle.svm.core.annotate.Delete; | ||
import com.oracle.svm.core.annotate.TargetClass; | ||
|
||
@TargetClass(className = "org.mariadb.jdbc.plugin.authentication.standard.SendPamAuthPacket") | ||
/** | ||
* The SendPamAuthPacket class is not supported in native mode. | ||
*/ | ||
@Delete | ||
@TargetClass(SendPamAuthPacket.class) | ||
public final class SendPamAuthPacket_Substitutions { | ||
|
||
@Substitute | ||
public void initialize(String authenticationData, byte[] seed, Configuration conf, HostAddress hostAddress) { | ||
throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM"); | ||
} | ||
|
||
@Substitute | ||
public ReadableByteBuf process(Writer out, Reader in, Context context) | ||
throws SQLException, IOException { | ||
throw new UnsupportedOperationException("Authentication strategy 'dialog' is not supported in GraalVM"); | ||
} | ||
} |