6607114: Make JMXServiceURL reconstructible in MXBeans
Summary: Add @ConstructorProperties tag to JMXServiceURL
Reviewed-by: dfuchs
--- 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 {