-
Notifications
You must be signed in to change notification settings - Fork 38.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
78 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters