Integrated: 8287: Fix the JMX protocol extenders

Alex Macdonald aptmac at openjdk.org
Mon Nov 4 14:47:35 UTC 2024


On Fri, 1 Nov 2024 14:04:04 GMT, Alex Macdonald <aptmac at openjdk.org> wrote:

> This PR addresses [JMC-8287](https://bugs.openjdk.org/browse/JMC-8287), in which the JMX protocol extenders were not running due to rjmx.ext not being visible by rjmx.common.
> 
> This bug would have originated from the movement of rjmx code from application to core last year.
> 
> Making rjmx.ext specify Fragment-Host on rjmx.common fixes the visiblity issue, and the protocol extenders both run as expected. This also fixes use-cases where plugins were expecting to have their protocols used but were failing due to the protocols not being picked up properly:
> 
> org.openjdk.jmc.rjmx.common.ConnectionException caused by java.net.MalformedURLException: Unsupported protocol:

This pull request has now been integrated.

Changeset: 92fe6812
Author:    Alex Macdonald <aptmac at openjdk.org>
URL:       https://git.openjdk.org/jmc/commit/92fe6812699c842bd30451872b1cb0948d204333
Stats:     4 lines in 1 file changed: 3 ins; 0 del; 1 mod

8287: Fix the JMX protocol extenders

Reviewed-by: hirt

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

PR: https://git.openjdk.org/jmc/pull/602


More information about the jmc-dev mailing list