spring-framework/spring-context
Sam Brannen 679b668bbb Avoid need for reflection hints for MBeanExporter in native image
Prior to this commit, MBeanExporter used
org.springframework.core.Constants which used reflection to find
constant fields in the MBeanExporter class. Consequently, one had to
register reflection hints in order to use MBeanExporter in a GraalVM
native image.

This commit addresses this by replacing the use of the `Constants`
class with a simple java.util.Map which maps constant names to constant
values for the autodetect constants defined in MBeanExporter.

See gh-30851
Closes gh-30846
2023-07-10 19:01:44 +02:00
..
src Avoid need for reflection hints for MBeanExporter in native image 2023-07-10 19:01:44 +02:00
.springBeans
spring-context.gradle Reinstate support for legacy JSR-250 Resource annotation 2023-07-09 16:52:17 +02:00