You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The native build should compile successfully without the need of the internal used Vert.x dependency. Someone from outside should not need to consider including internal used parts, because .. they should stay internal, as long as the developer does not "really need it"
Actual behavior
The main exception is the following:
com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Discovered unresolved type during parsing: io.vertx.core.Vertx. This error is reported at image build time because class io.quarkus.cache.runtime.CacheResultInterceptor is registered for linking at image build time by command line and command line.
Error encountered while parsing io.quarkus.cache.runtime.CacheResultInterceptor.intercept(CacheResultInterceptor.java:39)
Parsing context:
at io.quarkus.cache.runtime.CacheResultInterceptor_Bean.intercept(Unknown Source)
at io.quarkus.arc.impl.InterceptorInvocation.invoke(InterceptorInvocation.java:42)
at io.quarkus.arc.impl.AroundInvokeInvocationContext.perform(AroundInvokeInvocationContext.java:30)
at com.github.wglanzer.reproducer.DemoApp_Subclass.run(Unknown Source)
at root method.(Unknown Source)
How to Reproduce?
Clone the reproducer or create a new project with the pom.xml and the class from above
Execute a native compile with the "native" build profile
An exception should appear on the console
Output of uname -a or ver
Darwin wglanzer-mb.home.lan 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64 x86_64
Output of java -version
Java version: 21.0.1+12, vendor version: GraalVM CE 21.0.1+12.1
Quarkus version or git rev
3.5.2
Build tool (ie. output of mvnw --version or gradlew --version)
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Since quarkus 3.5.2 I'm unable to build without the "quarkus-vertx" dependency when using "quarkus-cache" and some of its caching features.
Just have a look at my demo class here or see my reproducer project, if you want ( https://github.com/wglanzer/quarkus-vertx-native-reproducer/tree/main ) :
The pom.xml file looks something like this
Expected behavior
The native build should compile successfully without the need of the internal used Vert.x dependency. Someone from outside should not need to consider including internal used parts, because .. they should stay internal, as long as the developer does not "really need it"
Actual behavior
The main exception is the following:
How to Reproduce?
Output of
uname -a
orver
Darwin wglanzer-mb.home.lan 23.2.0 Darwin Kernel Version 23.2.0: Wed Nov 15 21:54:10 PST 2023; root:xnu-10002.61.3~2/RELEASE_X86_64 x86_64
Output of
java -version
Java version: 21.0.1+12, vendor version: GraalVM CE 21.0.1+12.1
Quarkus version or git rev
3.5.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: