79607605

Date: 2025-05-05 20:50:28
Score: 3.5
Natty:
Report link

i have similar problem with build native and secured random.
First, in my code, change SecuredRandom() in static or init value of a field move to constructor or body function.
In your application.properties or application.yaml (change the sintaxis only) add your class (the class that uses secure random, not java.security.SecureRandom u other) with the error, example:

quarkus.native.additional-build-args=--initialize-at-run-time=com.itextpdf.kernel.font.FontUtil\\,com.itextpdf.kernel.crypto.OutputStreamAesGcmEncryption

References: https://quarkus.io/guides/building-native-image#configuration-reference

Reasons:
  • Blacklisted phrase (1): i have similar
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): i have similar problem
  • Low reputation (1):
Posted by: Rey