jmx-dev RFR: 8344976: Remove the jmx.invoke.getters compatibility property

Serguei Spitsyn sspitsyn at openjdk.org
Fri Jan 24 11:49:47 UTC 2025


On Wed, 15 Jan 2025 12:15:25 GMT, Kevin Walls <kevinw at openjdk.org> wrote:

> The System Property "jmx.invoke.getters" was added in [JDK-4949203](https://bugs.openjdk.org/browse/JDK-4949203) to optionally be compatible with a time before JDK-6, when calling invoke on getters and setters was permitted.
> 
> It should be removed.

Looks good modulo copyright year.

test/jdk/javax/management/Introspector/InvokeGettersTest.java line 2:

> 1: /*
> 2:  * Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.

The year 2022 looks like a typo.

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

Marked as reviewed by sspitsyn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23132#pullrequestreview-2572435558
PR Review Comment: https://git.openjdk.org/jdk/pull/23132#discussion_r1928559402


More information about the jmx-dev mailing list