[jdk20] RFR: 8299891: JMX ObjectInputFilter additional classes needed [v2]
Kevin Walls
kevinw at openjdk.org
Mon Jan 30 11:50:24 UTC 2023
On Wed, 18 Jan 2023 17:56:43 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-related 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.
>
> Kevin Walls has updated the pull request incrementally with two additional commits since the last revision:
>
> - filter properties update: more classes logged as ALLOWED during wider testing
> - Add a Notification test
Thanks Daniel. Yes, one problem is that tests were passing with the more restrictive filter. With the test update here, at least we have a failure with the too-restrictive filter and a pass with this change.
JCK: api/javax_management/ also looks good.
-------------
PR: https://git.openjdk.org/jdk20/pull/97
More information about the serviceability-dev
mailing list