jmx-dev Integrated: 8344966: Remove the allowNonPublic MBean compatibility property

Kevin Walls kevinw at openjdk.org
Thu Jan 23 09:31:51 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.

This pull request has now been integrated.

Changeset: c882160d
Author:    Kevin Walls <kevinw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/c882160d03cb281c8d64d363b3e42273543f2f7f
Stats:     289 lines in 6 files changed: 0 ins; 283 del; 6 mod

8344966: Remove the allowNonPublic MBean compatibility property

Reviewed-by: amenkov, sspitsyn, dfuchs

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

PR: https://git.openjdk.org/jdk/pull/23098


More information about the jmx-dev mailing list