Detect GraalVM with system property in SerializableTypeWrapper [SPR-17136] #21673
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Sébastien Deleuze opened SPR-17136 and commented
In #21530, we checked if we were compiling/running as GraalVM native images by testing if
Class
wasSerializable
or not, but we can't rely on that check since with 1.0.0 RC5Class
isSerializable
with GraalVM as well.The result is that with GraalVM 1.0.0 RC5
FuncApplication
from https://github.com/dsyer/spring-boot-allocations fails with following stacktrace:We should probably use the same check than in SPR-17005 in order to adapt execution path for GraalVM native images.
Affects: 5.1 RC1
Reference URL: https://github.com/oracle/graal/blob/master/sdk/src/org.graalvm.nativeimage/src/org/graalvm/nativeimage/ImageInfo.java
Issue Links:
Referenced from: commits 2d05f2e
The text was updated successfully, but these errors were encountered: