Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8352479 BeanInfo(class).getPropertyDescriptors() includes default methods in 11.0.26
  3. JDK-8361408

Release Note: System Property to Exclude Default Methods in Beans Introspection

XMLWordPrintable

      A new system property `beans.defaultmethods` has been introduced to disable Bean Introspection from reporting default methods inherited from interfaces. Set the value of the `beans.defaultmethods` property to `false`, for example, add `-Dbeans.defaultmethods=false` to the command line, to exclude default methods.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: