graalvm / mandrel

Mandrel is a downstream distribution of the GraalVM community edition. Mandrel's main goal is to provide a native-image release specifically to support Quarkus.
Other
397 stars 15 forks source link

[23.0] Backport: Adopt "JDK-8324646: Avoid Class.forName in SecureRandom constructor" #781

Closed zakkak closed 3 months ago

zakkak commented 3 months ago

Partial backport of https://github.com/oracle/graal/pull/8387

Version agnostic adaptation of 05c1e79d360a9ab375eac31d1ce6946a311d74bc (cherry picked from commit 0edb942475a39226d5c68495433e3ea5049b2459)

Fix missing null check in 'Adopt "JDK-8324646: Avoid Class.forName in SecureRandom constructor"' (cherry picked from commit dcecff795eb9c216bfea170c302b83bf9a43a035)

Fixes https://github.com/graalvm/mandrel/issues/779