You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/02/02 12:09:00 UTC
[jira] [Updated] (CAMEL-22944) Camel-box: avoid using java.security.SecureRandom in the static initializers
[ https://issues.apache.org/jira/browse/CAMEL-22944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-22944:
--------------------------------
Issue Type: Task (was: Improvement)
> 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: Major
>
> 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)