You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/09/27 07:09:00 UTC
[GitHub] [camel-quarkus] jamesnetherton opened a new issue #3130: [Quarkus 2.4.0] AWT packages forced to be runtime initialized
jamesnetherton opened a new issue #3130:
URL: https://github.com/apache/camel-quarkus/issues/3130
Quarkus has introduced `AwtFeature`, which forces runtime initialization of classes belonging to various AWT packages:
https://github.com/quarkusio/quarkus/blob/main/core/runtime/src/main/java/io/quarkus/runtime/graal/AwtFeature.java#L24-L32
We need to deal with this in our extensions. Currently the following native itest builds fail:
* FOP
* Google
* Mail
* OptaPlanner
* PDF
* Tika
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton closed issue #3130: [Quarkus 2.4.0] AWT packages forced to be runtime initialized
Posted by GitBox <gi...@apache.org>.
jamesnetherton closed issue #3130:
URL: https://github.com/apache/camel-quarkus/issues/3130
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on issue #3130: [Quarkus 2.4.0] AWT packages forced to be runtime initialized
Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #3130:
URL: https://github.com/apache/camel-quarkus/issues/3130#issuecomment-947630189
All issues now verified as fixed in #3210.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on issue #3130: [Quarkus 2.4.0] AWT packages forced to be runtime initialized
Posted by GitBox <gi...@apache.org>.
jamesnetherton commented on issue #3130:
URL: https://github.com/apache/camel-quarkus/issues/3130#issuecomment-932239731
Most of the issues should now be fixed. Except for Tika where I don't (yet) understand the root case of the native compilation error:
```
com.oracle.graal.pointsto.util.AnalysisError$ParsingError: Error encountered while parsing sun.nio.cs.ext.ISO2022_CN$Decoder.<init>(java.nio.charset.Charset)
Parsing context:
at sun.nio.cs.ext.ISO2022_CN.newDecoder(ISO2022_CN.java:74)
at sun.nio.cs.ThreadLocalCoders$1.create(ThreadLocalCoders.java:100)
at sun.nio.cs.ThreadLocalCoders$Cache.forName(ThreadLocalCoders.java:80)
at sun.nio.cs.ThreadLocalCoders.decoderFor(ThreadLocalCoders.java:107)
at sun.net.www.ParseUtil.decode(ParseUtil.java:180)
at sun.net.www.protocol.file.Handler.openConnection(Handler.java:80)
at sun.net.www.protocol.file.Handler.openConnection(Handler.java:72)
at java.net.URL.openConnection(URL.java:1099)
at java.util.ServiceLoader$LazyClassPathLookupIterator.parse(ServiceLoader.java:1163)
at java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1206)
at com.oracle.svm.core.jdk.Target_java_util_ServiceLoader_LazyClassPathLookupIterator.hasNextService(Target_java_util_ServiceLoader.java:105)
at java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1265)
at java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1300)
at java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1385)
at javax.enterprise.inject.spi.CDI.findAllProviders(CDI.java:120)
at javax.enterprise.inject.spi.CDI.getCDIProvider(CDI.java:82)
at javax.enterprise.inject.spi.CDI.current(CDI.java:64)
at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:105)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:66)
at io.quarkus.runtime.Quarkus.run(Quarkus.java:42)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org