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

Kevin Walls kevinw at openjdk.org
Wed Jan 11 09:50:08 UTC 2023


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.

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

Commit messages:
 - trailing whitespace in comment
 - change flag for testing operations vs. other classes
 - whitespace
 - 8299891: JMX ObjectInputFilter additional classes needed

Changes: https://git.openjdk.org/jdk20/pull/97/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=97&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8299891
  Stats: 101 lines in 2 files changed: 92 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk20/pull/97.diff
  Fetch: git fetch https://git.openjdk.org/jdk20 pull/97/head:pull/97

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


More information about the serviceability-dev mailing list