MBeanExporter
produces "Using deprecated '-debug' fallback for parameter name resolution..." warnings
#31171
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: invalid
An issue that we don't feel is valid
I have a bean that implements
NotificationPublisherAware
in order to send JMX notifications.I put then this bean to
MBeanExporter
's Bean Map:In this way created
MBeanExporter
bean then tries to prepare myjmxNotificationSender
. Among others exporter invokescreateAndConfigureMBean
method, which in turn usesMBeanInfoAssembler
to scanjmxNotificationSender
to obtain some information. I could trace down, thatAbstractReflectiveMBeanInfoAssembler
as an implementation is used here. ThisAbstractReflectiveMBeanInfoAssembler
invokesgetOperationParameters
method, which actually causes the warning since it discovers method parameters (introspection).Will this issue somehow be handled in the future?
Tested with Spring Framework 6.0.9 and Java 17
The text was updated successfully, but these errors were encountered: