jamesnetherton opened a new issue #2980:
URL: https://github.com/apache/camel-quarkus/issues/2980


   We need to examine exactly which Spring APIs this extension uses so that we 
can exclude the original `org.springframework` JARs and use the shaded versions 
that we produce in the `spring-support` module.
   
   
   ```
   Caused by: 
com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: No instances 
of java.io.FilePermission are allowed in the image heap as this class should be 
initialized at image runtime. To see how this object got instantiated use 
--trace-object-instantiation=java.io.FilePermission.
   Detailed message:
   Trace: Object was reached by 
        reading field java.util.concurrent.ConcurrentHashMap$Node.val of
                constant java.util.concurrent.ConcurrentHashMap$Node@1ed6bdb8 
reached by 
        indexing into array
                constant java.util.concurrent.ConcurrentHashMap$Node[]@15d92b6f 
reached by 
        reading field java.util.concurrent.ConcurrentHashMap.table of
                constant java.util.concurrent.ConcurrentHashMap@2d7f8159 
reached by 
        reading field java.io.FilePermissionCollection.perms of
                constant java.io.FilePermissionCollection@4b6ffdd3 reached by 
        reading field java.util.concurrent.ConcurrentHashMap$Node.val of
                constant java.util.concurrent.ConcurrentHashMap$Node@4864a28f 
reached by 
        indexing into array
                constant java.util.concurrent.ConcurrentHashMap$Node[]@3200d261 
reached by 
        reading field java.util.concurrent.ConcurrentHashMap.table of
                constant java.util.concurrent.ConcurrentHashMap@7e2c1a0c 
reached by 
        reading field java.security.Permissions.permsMap of
                constant java.security.Permissions@7d8a9dac reached by 
        reading field java.security.ProtectionDomain.permissions of
                constant java.security.ProtectionDomain@1a1a14ee reached by 
        scanning method 
org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:528)
   Call path from entry point to 
org.springframework.cglib.core.ReflectUtils.defineClass(String, byte[], 
ClassLoader, ProtectionDomain, Class): 
        at 
org.springframework.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:501)
        at 
org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:363)
        at org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:585)
        at 
org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:110)
        at 
org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:108)
        at 
org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54)
        at java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at java.lang.Thread.run(Thread.java:829)
        at 
com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:567)
        at 
com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
        at 
com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
   ```
   


-- 
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

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


Reply via email to