RFR: 8344969: Remove the jmx.mxbean.multiname compatibility property
Alex Menkov
amenkov at openjdk.org
Thu Jan 16 01:07:38 UTC 2025
On Wed, 15 Jan 2025 10:59:29 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> Remove the System Property "jmx.mxbean.multiname" which was introduced in JDK-7 for compatibility with code which may have depended on previous incorrect behaviour. Removal is long overdue.
test/jdk/javax/management/mxbean/SameObjectTwoNamesTest.java line 43:
> 41:
> 42: public static void main(String[] args) throws Exception {
> 43: boolean expectException = true;
I think it would be better to drop this variable at all (and remove unreachable code when the variable is "false")
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23131#discussion_r1917527678
More information about the serviceability-dev
mailing list