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
Fix missing null check in 'Adopt "JDK-8324646: Avoid Class.forName in SecureRandom constructor"' #745
We are missing a null-check in SecurityServicesFeature::getConstructorParameterClassAccessor() introduced by #738 because consParamClassFieldFinal.get(engineDescription) can be null:
if (consParamClassFieldFinal.getName().equals("constructorParameterClassName")) {
return loader.findClass((String) consParamClassFieldFinal.get(engineDescription)).get();
}
We are missing a null-check in
SecurityServicesFeature::getConstructorParameterClassAccessor()
introduced by #738 becauseconsParamClassFieldFinal.get(engineDescription)
can be null: