You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After more work on that, context.registerBean("webServerFactoryCustomizerBeanPostProcessor", WebServerFactoryCustomizerBeanPostProcessor.class) does not work without reflection configuration due to oracle/graal#2500.
But we have an easy workaround since context.registerBean("webServerFactoryCustomizerBeanPostProcessor", WebServerFactoryCustomizerBeanPostProcessor.class, WebServerFactoryCustomizerBeanPostProcessor::new) works out of the box without any configuration.
It seems it was the only place where we did not use a lambda for calling the constructor.
Reflection entry for TomcatEmbeddedWebappClassLoader is also needed but that will be handled on spring-graalvm-native side.
sdeleuze
changed the title
Support GraalVM native without reflection configuration
Make WebServerFactoryCustomizerBeanPostProcessor registration GraalVM native compliant.
Jun 6, 2020
As a follow-up of #146, depends on oracle/graal#2500.
The text was updated successfully, but these errors were encountered: