I am looking for review and a sponsor.

Webrev is available at
http://cr.openjdk.java.net/~jbachorik/JDK-6705499/webrev.00/

The issue is caused by the way the java.util.ServiceLoader treats the
service registration with incorrect class names. Such a service
registration causes java.util.ServiceConfigurationError to be thrown and
the JMXConnector(Server)Factory is not ready for this. Thanks to the
exception all the other, potentially valid, service registrations are
ignored.

The patch makes JMXConnector(Server)Factory class ready for
java.util.ServiceConfigurationError and when such an exception is caught
the factory just proceeds to the next registration. If the only
available registration causes the exception it will be rethrown at the end.

Thanks,

-JB-

Reply via email to