Fouad Almalki
Fouad Almalki
#4753 Add support for including lambda classes to reflection configuration
This is a sample project that runs [JDBI](https://jdbi.org/) on [Quarkus](https://quarkus.io/) native image: https://github.com/Eng-Fouad/jdbi-quarkus-native
https://stackoverflow.com/questions/73022125/lambda-expression-classes-in-graalvm-reflection-configuration
Without extensions: ``` tasks.create(name = "deploy-war") { group = "deploy" val myServer = remotes.create("my-server") { host = "10.10.10.10" user = "root" password = "root" } /* or val myServer =...
I had the same issue on Windows 10. I solved it by setting environment variable `DOCKER_HOST` to `tcp://locahost:2375`, and also enabled `expose daemon on tcp://localhost:2375 without TLS` option from Docket...
> Hello, is @Eng-Fouad solution definitive? Can this issue be marked as solved? > > Yes, JDBI currently can be compiled to native by including the necessary configurations as shown...
I tried registering `SampleService` as reflection hint, but it didn't fix the problem: MyRuntimeHints: ``` package io.fouad.lazynative; import org.springframework.aot.hint.RuntimeHints; import org.springframework.aot.hint.RuntimeHintsRegistrar; public class MyRuntimeHints implements RuntimeHintsRegistrar { @Override public void...
> @Eng-Fouad thanks for the report and the sample but please move all that text into an actual sample that we can run. The only thing we could to help...
As a workaround for the second exception: ``` Caused by: java.lang.NoSuchMethodException: io.fouad.lazynative.SampleService$$SpringCGLIB$$0.CGLIB$SET_THREAD_CALLBACKS([Lorg.springframework.cglib.proxy.Callback;) ``` ``` package io.fouad.springnativelazybug; import org.springframework.aot.hint.RuntimeHints; import org.springframework.aot.hint.RuntimeHintsRegistrar; import org.springframework.aot.hint.support.ClassHintUtils; public class MyRuntimeHints implements RuntimeHintsRegistrar { @Override public...
Similar #29584 #29309