Upgrading 2.1.0.Final -> 2.7.0.Final native image generation fails (AWS Random/SplittableRandom) #23695
-
Hi All, I'm having problem with upgrading my little service to the recent Quarkus 2.7.0.Final version from 2.1.0.Final. Here is the service code/reproducer: https://github.com/zeppelinux/quarked-ddns
Most likely it exposes some problem with my code that worked before because GraalVM was not so strict (or whatever), but I'm not sure how to make it work again. I.e. what is the proper way to initialize Amazon ClientConfiguration in this case? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
@zeppelinux Hi, indeed, GraalVM has become stricter with statically initialized |
Beta Was this translation helpful? Give feedback.
@zeppelinux Hi, indeed, GraalVM has become stricter with statically initialized
SecureRandom
, in Quarkus aruntime re-initialization
is requested for such cases, I'm not sure though how to request it outside of Quarkus, @zakkak, can you advise please ?