New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap application - fail with 1.3.0.CR1 in native - substitution target for io.quarkus.vertx.core.runtime.graal.Target_sun_nio_ch_Iocp is not loaded #7632
Comments
Just tried the sample app with JDK8 based GraalVM and it passes ...
|
I just came to raise the same issue: I am seeing the error in the native build for a JDK 11 CI job for an extension. The CI jobs run on ubuntu-18.04, and it was using GraalVM 19.3.1 Java 11 via container build with quay.io/quarkus/ubi-quarkus-native-image:19.3.1-java11 It started failing with a nightly build last night against Quarkus master: The same failure occurred when updating the extension to build agaisnt 1.3.0.CR1: PR #7587 seems to have touched in this area yesterday afternoon for use on Windows + JDK11, which could be related.
|
cc @gwenneg |
Just for completeness, the same occurs locally with Graal 20.0.0 native container based builds - works with 8, fails with 11 (via quay.io/quarkus/ubi-quarkus-native-image:20.0.0-java11) |
Same issue with gradle:
|
These classes are only available on Windows, the |
I've a fix coming up for this one. |
Me too :-) |
@jaikiran ping me when you have your PR, so we can compare. You just need something like:
and isolate the Windows only substitutions. |
Hello @cescoffier, I've this:
Of course testing is still in progress (build takes a while). |
I didn't know Platforms ! Much better. And yes, testing is going to take a while as we would need feedback on the 3 OS. |
I've opened #7636. My local (basic) testing went fine with this change (I was seeing the same failure as noted in this issue on my *nix system without this change). |
I see fail with simple bootstrap application based on Quarkus 1.3.0.CR1 in native - substitution target for io.quarkus.vertx.core.runtime.graal.Target_sun_nio_ch_Iocp is not loaded
Using GraalVM CE 19.3.1 JDK11 based one.
The text was updated successfully, but these errors were encountered: