RFR: 8344966: Remove the allowNonPublic MBean compatibility property

Alex Menkov amenkov at openjdk.org
Wed Jan 15 02:33:35 UTC 2025


On Tue, 14 Jan 2025 09:39:49 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> The System Property "jdk.jmx.mbeans.allowNonPublic" was added with JDK-8010285, to optionally be compatible with a time before JDK-8, when Management Interfaces being public was not enforced.
> 
> From JDK-8010285:
> _The system property "jdk.jmx.mbeans.allowNonPublic" is used to revert to the old behaviour allowing non-public management interfaces. This property is considered to be transitional and will be removed in the subsequent releases._
> 
> 
> 
> That was a long time ago.  This compatibility convenience flag should be removed.

Marked as reviewed by amenkov (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/23098#pullrequestreview-2551439688


More information about the serviceability-dev mailing list