JiriOndrusek opened a new issue, #5233:
URL: https://github.com/apache/camel-quarkus/issues/5233

   ### Bug description
   
   After upgrade of JNats to 2.16.14 (in Camel), there is a native error about 
unknown type `sun.security.x509.X509Key` when parsing `EdDSAEngine`
   
   I added a module containing x509Key into test module quarkus execution by
   
   ```
       <properties>
           <!-- his is required for the native execution (probably also for 
JVM).
               EdDSAEngine requires sun.security.x509.X509Ke, which is no 
longer part if the java (since J16)
                (Similar approach was used in kudu extension) -->
           <opens>java.base/sun.security.x509=ALL-UNNAMED</opens>
           <argLine>--add-opens ${opens}</argLine>
           
<quarkus.native.additional-build-args>-J--add-opens=${opens}</quarkus.native.additional-build-args>
       </properties>
   ```
   which fixes the error.
   
   ----
   
   I'm not sure why upgrade of the dependency is causing this error.
   
   If addition of the module is the right solution, documentation should be 
updated to cover thus requirement.
   (Another solution might exist. It might be possible to remove 
`sun.security.x509.X509Key` part from `EdDSAEngine` by using @Substitute - but 
I didn't try it)


-- 
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-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to