Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129215

com.sun.jmx.mbeanserver.Introspector may provide results inconsistent with the JavaBeans Introspector

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc

      Backports

        Description

        The JMX Introspector will try to use the JavaBeans introspector whenever possible, delegating the requests for the property getter/setter methods. However, when the JavaBeans introspector is not available (embedded environments with compact3 for example) the JMX Introspector falls back to its own simple, reflection based, algorithm.

        The simple algorithm does not enforce the rule of property names starting with a lower-case letter. This might lead to situations when the simple introspector provides the getter method for an attribute the JavaBeans introspector would not (eg. 'Attribute' attribute)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jbachorik Jaroslav Bachorík
                  Reporter:
                  jbachorik Jaroslav Bachorík
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: