[ 
https://issues.apache.org/jira/browse/CAMEL-22944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-22944.
---------------------------------
    Fix Version/s: 4.18.0
       Resolution: Fixed

> Camel-box: avoid using java.security.SecureRandom in the static initializers
> ----------------------------------------------------------------------------
>
>                 Key: CAMEL-22944
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22944
>             Project: Camel
>          Issue Type: Task
>          Components: camel-box
>    Affects Versions: 4.18.0
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>            Priority: Minor
>             Fix For: 4.18.0
>
>
> Recent change in camel (see the 
> [commit|https://github.com/apache/camel/commit/3efe2b0e13aef0afc866d3a345368edeb3c4a179])
>  registered a `java.security.SecureRandom` as a static variable, which makes 
> the Camel-quarkus native build fail with 
> {quote}Fatal error: 
> com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Detected 
> an instance of Random/SplittableRandom class in the image heap. Instances 
> created during image generation have cached seed values and don't behave as 
> expected.
> {quote}
> As an easy solution, we can use for example UUID.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to