# HG changeset patch # User emcmanus # Date 1204554520 -3600 # Node ID 86095028f162d0374c790ad97c70351e2d335100 # Parent 2d042367885fd4230653de9775b2583048b4b991 6607114: Make JMXServiceURL reconstructible in MXBeans Summary: Add @ConstructorProperties tag to JMXServiceURL Reviewed-by: dfuchs diff -r 2d042367885f -r 86095028f162 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 * port is negative. */ + @ConstructorProperties({"protocol", "host", "port", "URLPath"}) public JMXServiceURL(String protocol, String host, int port, String urlPath) throws MalformedURLException {