You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jiri Ondrusek (Jira)" <ji...@apache.org> on 2026/02/02 09:39:00 UTC
[jira] [Created] (CAMEL-22944) Camel-box: avoid using java.security.SecureRandom in the static initializers
Jiri Ondrusek created CAMEL-22944:
-------------------------------------
Summary: 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: Improvement
Components: camel-box
Affects Versions: 4.18.0
Reporter: Jiri Ondrusek
Assignee: Jiri Ondrusek
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)