[jdk20] RFR: 8299891: JMX ObjectInputFilter additional classes needed

Daniel Fuchs dfuchs at openjdk.org
Wed Jan 11 12:22:23 UTC 2023


On Wed, 11 Jan 2023 09:40:11 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> The default setting for the ObjectInputFilter for JMX, introduced in jdk20, is too restrictive.
> javax.management.Attribute and AttributeList classes are also needed, and Query related classes.
> 
> There are a number of Query-relate classes, so adding javax.management.* is appropriate otherwise the list becomes hard to manage.  This is a * and not a ** which would mean all subpackages, so the openmean subpackage stays in the list.

I believe it would be good to add a test method that registers for notifications using a notification filter. Especially attribute change notification, possibly MBean registration too.

-------------

PR: https://git.openjdk.org/jdk20/pull/97


More information about the serviceability-dev mailing list