-
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
Support TypedStringValue
during AOT processing
#29074
Comments
There's also the problem that This is one more case that links to #27920 |
I am not yet convinced that we have to handle |
Blocked by #27920 |
Any known workaround until the support is added? We are trying to convert one of our projects with XML configuration to Spring Boot 3 Native Image. |
TypedStringValue
during AOT processing
We've made quite a bit of progress in better support for XML configs but there is still one major point to review, see #31420. Please keep testing against the latest version, thanks! |
Overview
When
BeanDefinitionPropertyValueCodeGenerator.MapDelegate
generates code for aMap
, that map may contain instances ofTypedStringValue
resulting in a stack trace similar to the following that occurred while processing anApplicationContext
created fromExpressionUsageTests-context.xml
inspring-test
. We should likely replace typed string values with actual values before generating the map.BeanDefinitionPropertyValueCodeGenerator
may need aTypedStringValueDelegate
(or similar), because without one we see stack traces similar to the following that occurred while processing anApplicationContext
created fromSpringJUnit4ClassRunnerAppCtxTests-context.xml
inspring-test
.Related Issues
The text was updated successfully, but these errors were encountered: