-
Notifications
You must be signed in to change notification settings - Fork 38.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce a NativeDetector utility class #25795
Comments
@jhoeller I got the confirmation the related GraalVM issue will fixed in 20.3 but not in time for our 5.3 GA, could we create a 5.3.1 milestone and target it for this issue resolution? |
Blocked on oracle/graal#2594. |
Sadly the related GraalVM issue did not make it in 20.3.0 so we will have to wait 21.0.0. I asked for early inclusion in order to give us the time to test and provide feedback. |
GraalVM now allows to use such utility method to detect native image runtime when the |
With the introduction of the -H:+InlineBeforeAnalysis native image compiler flag in GraalVM 21.0.0, it is now possible to use an utility method and get code removal at build time. This flag will be enabled as of Spring Native 0.9.0. closes spring-projectsgh-25795
If oracle/graal#2594 get fixed in time we should probably reintroduce
GraalDetector
renamed toNativeDetector
for a wider scope (could be useful for Project Leyden). It was removed via 806eb5c.The text was updated successfully, but these errors were encountered: