提交 4d230d7d 编写于 作者: E emcmanus

6607114: Make JMXServiceURL reconstructible in MXBeans

Summary: Add @ConstructorProperties tag to JMXServiceURL
Reviewed-by: dfuchs
上级 15cc2a49
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册