6607114: Make JMXServiceURL reconstructible in MXBeans

Add @ConstructorProperties tag to JMXServiceURL

Reviewed-by: dfuchs
This commit is contained in:
Eamonn McManus 2008-03-03 15:28:40 +01:00
parent 104cc86359
commit 8736cd2d59

View File

@ -274,6 +274,7 @@ public class JMXServiceURL implements Serializable {
* 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 {