jmx-dev JMXServiceURL and jmxmp
Eamonn McManus
eamonn at mcmanus.net
Fri Oct 31 15:12:46 UTC 2014
I don't see how this could be changed without running the risk of
breaking existing code. Not that I think that risk is very great, but
the impact of the current behaviour is not very great either.
Éamonn
On 31 October 2014 06:51, Jaroslav Bachorik
<jaroslav.bachorik at oracle.com> wrote:
> Hi Fabrice,
>
> nice catch!
>
> This is indeed a bug. We should not default to an external protocol.
>
> Do you want me to file an issue for this or do you prefer to take it through
> the regular web bug?
>
> -JB-
>
>
> On 10/31/2014 02:40 PM, Fabrice Bacchella wrote:
>>
>> In the documentation, at
>>
>> http://docs.oracle.com/javase/7/docs/api/javax/management/remote/JMXServiceURL.html#JMXServiceURL(java.lang.String,%20java.lang.String,%20int,%20java.lang.String)
>>
>> I can read :
>>
>> protocol - the protocol part of the URL. If null, defaults to jmxmp.
>>
>> But jmxmp is not distributed with the jdk, so this constructor is bound to
>> failed on stock jvm.
>>
>
More information about the jmx-dev
mailing list