jmx-dev RFR: 8332303: Better JMX interoperability with older JDKs, after removing Subject Delegation [v3]
Kevin Walls
kevinw at openjdk.org
Thu May 16 20:17:18 UTC 2024
> Running JConsole from a previous JDK, and attaching to jdk-23 (after [JDK-8326666](https://bugs.openjdk.org/browse/JDK-8326666): Remove the Java Management Extension (JMX) Subject Delegation feature), the MBean tab is blank.
>
> In javax/management/remote/rmi/RMIConnectionImpl.java:
> addNotificationListener rejects a non-null delegationSubjects array, but older JDKs will send such an array. It could accept the array, and only reject/throw if it contains a non-null Subject (i.e. if an attempt to use subject delegation is really happening).
>
> Manually testing JConsole, the MBean tab is fully populated and usable.
Kevin Walls has updated the pull request incrementally with two additional commits since the last revision:
- add an 'also'
- typo
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/19253/files
- new: https://git.openjdk.org/jdk/pull/19253/files/6c97b5ed..68c791e7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=19253&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=19253&range=01-02
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/19253.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/19253/head:pull/19253
PR: https://git.openjdk.org/jdk/pull/19253
More information about the jmx-dev
mailing list