Skip to content
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

XML integration tests fail in native mode on JDK 11 #1000

Closed
jamesnetherton opened this issue Mar 30, 2020 · 0 comments · Fixed by #1011
Closed

XML integration tests fail in native mode on JDK 11 #1000

jamesnetherton opened this issue Mar 30, 2020 · 0 comments · Fixed by #1011
Assignees
Labels
bug Something isn't working

Comments

@jamesnetherton
Copy link
Contributor

quay.io/quarkus/ubi-quarkus-native-image:19.3.1-java11
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 19.3.1 CE
[INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] docker run -v /home/runner/work/camel-quarkus/camel-quarkus/integration-tests/xml/target/camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-native-image-source-jar:/project:z --env LANG=C --user 1001:115 --rm quay.io/quarkus/ubi-quarkus-native-image:19.3.1-java11 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dsun.nio.ch.maxUpdateArraySize=100 -J-Dvertx.logger-delegate-factory-class-name=io.quarkus.vertx.core.runtime.VertxLogDelegateFactory -J-Dvertx.disableDnsResolver=true -J-Dio.netty.leakDetection.level=DISABLED -J-Dio.netty.allocator.maxOrder=1 -J-Dcom.sun.xml.bind.v2.bytecode.ClassTailor.noOptimize=true -J-Duser.language=en -J-Dfile.encoding=ANSI_X3.4-1968 --initialize-at-build-time= -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime -H:+JNI -jar camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner.jar -H:FallbackThreshold=0 -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:-IncludeAllTimeZones -H:EnableURLProtocols=http --no-server -H:-UseServiceLoaderFeature -H:+StackTrace camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner
[camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner:26]    classlist:   6,921.36 ms
09:15:19,365 INFO  [com.sun.xml.bin.v2.run.ref.opt.AccessorInjector] The optimized code generation is disabled
[camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner:26]        (cap):     946.39 ms
[camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner:26]        setup:   2,800.60 ms
09:15:25,794 INFO  [org.jbo.threads] JBoss Threads version 3.0.1.Final
[camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner:26]   (typeflow): 321,659.75 ms
[camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner:26]    (objects): 171,784.83 ms
[camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner:26]   (features):   4,134.09 ms
[camel-quarkus-integration-test-xml-1.1.0-SNAPSHOT-runner:26]     analysis: 505,513.60 ms
Error: com.oracle.svm.hosted.substitute.DeletedElementException: Unsupported method java.lang.ClassLoader.defineClass(String, byte[], int, int, ProtectionDomain) is reachable: The declaring class of this element has been substituted, but this element is not present in the substitution class
To diagnose the issue, you can add the option --report-unsupported-elements-at-runtime. The unsupported element is then reported at run time when it is accessed the first time.
Detailed message:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants