6607114: Make JMXServiceURL reconstructible in MXBeans
authoremcmanus
Mon, 03 Mar 2008 15:28:40 +0100
changeset 36 86095028f162
parent 34 2d042367885f
child 37 de050b281986
6607114: Make JMXServiceURL reconstructible in MXBeans Summary: Add @ConstructorProperties tag to JMXServiceURL Reviewed-by: dfuchs
jdk/src/share/classes/javax/management/remote/JMXServiceURL.java
--- a/jdk/src/share/classes/javax/management/remote/JMXServiceURL.java	Mon Mar 03 10:32:38 2008 +0100
+++ b/jdk/src/share/classes/javax/management/remote/JMXServiceURL.java	Mon Mar 03 15:28:40 2008 +0100
@@ -274,6 +274,7 @@
      * is not possible to find the local host name, or if
      * <code>port</code> is negative.
      */
+    @ConstructorProperties({"protocol", "host", "port", "URLPath"})
     public JMXServiceURL(String protocol, String host, int port,
                          String urlPath)
             throws MalformedURLException {