jmx-dev RFR: 8324845: management.properties text "interface name" is misleading
Alan Bateman
alanb at openjdk.org
Mon Jan 29 15:27:46 UTC 2024
On Mon, 29 Jan 2024 14:45:24 GMT, Kevin Walls <kevinw at openjdk.org> wrote:
> We have the text "host-or-interface-name" describing the com.sun.management.jmxremote.host property in management.properties, but interface names (like "eth0" or "lo", or "ens3"...) are not what it accepts. It should just say it needs to be a host name or address.
>
> This change only affects comment text in a properties file.
>
> (We don't currently mention this property in other docs, e.g. in the M&M guide.)
src/jdk.management.agent/share/conf/management.properties line 258:
> 256: #
> 257: # com.sun.management.jmxremote.host=<host-name-or-address>
> 258: # Specifies the address on which the JMX RMI agent will bind.
The placeholder is "host-name-or-address" so it might be clearer to say the local host name or IP address in the description.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17615#discussion_r1469761254
More information about the jmx-dev
mailing list