-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Configuration property is not bound in a native image when property has get, set, and is methods #33232
Comments
philwebb
changed the title
Swith BindableRuntimeHintsRegistrar to use BeanUtils.getPropertyDescriptors
Switch BindableRuntimeHintsRegistrar to use BeanUtils.getPropertyDescriptors
Nov 17, 2022
philwebb
added a commit
that referenced
this issue
Nov 17, 2022
Update `BindableRuntimeHintsRegistrar` to use `BeanUtils.getPropertyDescriptors` rather than `BeanInfoFactory`. Closes gh-33232
wilkinsona
changed the title
Switch BindableRuntimeHintsRegistrar to use BeanUtils.getPropertyDescriptors
Configuration property is not bound in a native image when property has get, set, and is methods
Nov 17, 2022
I've turned this into a bug as the change made has fixed the problem described in #33242 where no metadata was generated for a property with methods like these: public String getStatic() {
return staticRegion;
}
public void setStatic(@Nullable String staticRegion) {
this.staticRegion = staticRegion;
}
public boolean isStatic() {
return StringUtils.hasText(this.staticRegion);
} The |
ndwlocatieservices
added a commit
to ndwnu/nls-accessibility-map
that referenced
this issue
Aug 19, 2024
…o v3 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [nu.ndw.nls.geometry:nls-geometry](https://spring.io/projects/spring-boot) ([source](https://github.com/spring-projects/spring-boot)) | compile | major | `2.2.0` -> `3.0.0` | --- ### Release Notes <details> <summary>spring-projects/spring-boot (nu.ndw.nls.geometry:nls-geometry)</summary> ### [`v3.0.0`](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0) [Compare Source](spring-projects/spring-boot@v2.2.1.RELEASE...v3.0.0) See the [Release notes for 3.0](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes) for upgrade instructions and details of new features. #### ⭐ New Features - Provide a configuration property for the observation patterns of Spring Integration components [#​33099](spring-projects/spring-boot#33099) #### 🐞 Bug Fixes - io.micrometer.tracing.Tracer on the classpath breaks AOT processing for tests [#​33298](spring-projects/spring-boot#33298) - Tracer library HTTP instrumentation is auto-configured unnecessarily [#​33287](spring-projects/spring-boot#33287) - Auto-configuration ignores user-provided ObservationConventions [#​33285](spring-projects/spring-boot#33285) - `ScheduledBeanLazyInitializationExcludeFilter` is auto-configured even when annotation-based scheduled has not been enabled [#​33284](spring-projects/spring-boot#33284) - SpringBootContextLoader prints banner twice when using a `@ContextHierarchy` [#​33263](spring-projects/spring-boot#33263) - Properties migrator causes an application to fail to start if it tries to map a property whose metadata data entry contains an invalid configuration property name [#​33250](spring-projects/spring-boot#33250) - Wavefront MeterRegistryCustomizer is not applying application tags from application.properties [#​33244](spring-projects/spring-boot#33244) - Actuator responses no longer format timestamps as ISO-8601 [#​33236](spring-projects/spring-boot#33236) - Configuration property is not bound in a native image when property has get, set, and is methods [#​33232](spring-projects/spring-boot#33232) - Configuration property binding does not deal with bridge methods [#​33212](spring-projects/spring-boot#33212) - Contribute missing resource hints for GraphQL schema files and GraphiQL HTML page [#​33208](spring-projects/spring-boot#33208) - Hints for ClientHttpRequestFactory should only be generated for matching methods [#​33203](spring-projects/spring-boot#33203) -...
ndwlocatieservices
added a commit
to ndwnu/nls-routing-map-matcher
that referenced
this issue
Aug 21, 2024
…o v3 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [nu.ndw.nls.geometry:nls-geometry](https://spring.io/projects/spring-boot) ([source](https://github.com/spring-projects/spring-boot)) | compile | major | `2.1.4` -> `3.0.0` | --- ### Release Notes <details> <summary>spring-projects/spring-boot (nu.ndw.nls.geometry:nls-geometry)</summary> ### [`v3.0.0`](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0) [Compare Source](spring-projects/spring-boot@v2.2.1.RELEASE...v3.0.0) See the [Release notes for 3.0](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes) for upgrade instructions and details of new features. #### ⭐ New Features - Provide a configuration property for the observation patterns of Spring Integration components [#​33099](spring-projects/spring-boot#33099) #### 🐞 Bug Fixes - io.micrometer.tracing.Tracer on the classpath breaks AOT processing for tests [#​33298](spring-projects/spring-boot#33298) - Tracer library HTTP instrumentation is auto-configured unnecessarily [#​33287](spring-projects/spring-boot#33287) - Auto-configuration ignores user-provided ObservationConventions [#​33285](spring-projects/spring-boot#33285) - `ScheduledBeanLazyInitializationExcludeFilter` is auto-configured even when annotation-based scheduled has not been enabled [#​33284](spring-projects/spring-boot#33284) - SpringBootContextLoader prints banner twice when using a `@ContextHierarchy` [#​33263](spring-projects/spring-boot#33263) - Properties migrator causes an application to fail to start if it tries to map a property whose metadata data entry contains an invalid configuration property name [#​33250](spring-projects/spring-boot#33250) - Wavefront MeterRegistryCustomizer is not applying application tags from application.properties [#​33244](spring-projects/spring-boot#33244) - Actuator responses no longer format timestamps as ISO-8601 [#​33236](spring-projects/spring-boot#33236) - Configuration property is not bound in a native image when property has get, set, and is methods [#​33232](spring-projects/spring-boot#33232) - Configuration property binding does not deal with bridge methods [#​33212](spring-projects/spring-boot#33212) - Contribute missing resource hints for GraphQL schema files and GraphiQL HTML page [#​33208](spring-projects/spring-boot#33208) - Hints for ClientHttpRequestFactory should only be generated for matching methods [#​33203](spring-projects/spring-boot#33203) -...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BindableRuntimeHintsRegistrar
currently usesBeanInfoFactory
to get properties, I think we can safely switch toBeanUtils.getPropertyDescriptors
which will be a little simpler and also make use of caches.The text was updated successfully, but these errors were encountered: