File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
core/runtime/src/main/java/io/quarkus/runtime/graal
extensions/resteasy-classic/rest-client/runtime/src/main/java/io/quarkus/restclient/runtime/graal Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 11package io .quarkus .runtime .graal ;
22
3- import java .awt .Graphics ;
3+ import java .awt .GraphicsEnvironment ;
44import java .awt .Toolkit ;
55import java .util .Iterator ;
66import java .util .function .BooleanSupplier ;
@@ -41,7 +41,7 @@ public boolean getAsBoolean() {
4141@ TargetClass (className = "java.awt.GraphicsEnvironment" , onlyWith = AwtImageIO .IsAWTAbsent .class )
4242final class Target_java_awt_GraphicsEnvironment {
4343 @ Substitute
44- public static Graphics getLocalGraphicsEnvironment () {
44+ public static GraphicsEnvironment getLocalGraphicsEnvironment () {
4545 throw new UnsupportedOperationException (AwtImageIO .AWT_EXTENSION_HINT );
4646 }
4747
Original file line number Diff line number Diff line change 44
55import javax .net .ssl .SSLContext ;
66
7+ import org .jboss .resteasy .client .jaxrs .ClientHttpEngine ;
8+ import org .jboss .resteasy .client .jaxrs .ClientHttpEngineBuilder ;
79import org .jboss .resteasy .client .jaxrs .ResteasyClientBuilder ;
810
911import com .oracle .svm .core .annotate .Alias ;
1618 * {@code SSLContext.getInstance(SSLConnectionSocketFactory.TLS)} which will fail in native when the SSL has been disabled
1719 */
1820@ TargetClass (className = "org.jboss.resteasy.client.jaxrs.engines.ClientHttpEngineBuilder43" )
19- public final class ClientHttpEngineBuilder43Replacement {
21+ public final class ClientHttpEngineBuilder43Replacement implements ClientHttpEngineBuilder {
2022
2123 @ Alias
2224 private ResteasyClientBuilder that ;
2325
2426 @ Substitute
25- public ClientHttpEngineBuilder43Replacement resteasyClientBuilder (ResteasyClientBuilder resteasyClientBuilder ) {
27+ public ClientHttpEngineBuilder resteasyClientBuilder (ResteasyClientBuilder resteasyClientBuilder ) {
2628 that = resteasyClientBuilder ;
2729 // make sure we only set a context if there is none or one wouldn't be created implicitly
2830 if ((that .getSSLContext () == null ) && (that .getTrustStore () == null ) && (that .getKeyStore () == null )) {
@@ -34,4 +36,10 @@ public ClientHttpEngineBuilder43Replacement resteasyClientBuilder(ResteasyClient
3436 }
3537 return this ;
3638 }
39+
40+ /**
41+ * Unused alias to implementation to implement the interface
42+ */
43+ @ Alias
44+ public native ClientHttpEngine build ();
3745}
You can’t perform that action at this time.
0 commit comments