src/jdk.management.rest/share/classes/jdk/internal/management/remote/rest/http/MBeanCollectionResource.java
--- a/src/jdk.management.rest/share/classes/jdk/internal/management/remote/rest/http/MBeanCollectionResource.java Fri Jan 19 13:46:27 2018 +0530
+++ b/src/jdk.management.rest/share/classes/jdk/internal/management/remote/rest/http/MBeanCollectionResource.java Fri Jan 19 13:56:36 2018 +0530
@@ -241,9 +241,9 @@
String href = path + "/" + objectName.toString();
href = HttpUtil.escapeUrl(href);
item.put("href", href);
+ String info = HttpUtil.escapeUrl(path + "/" + objectName.toString() + "/info");
+ item.put("info", info);
items.add(item);
- String info = HttpUtil.escapeUrl(href + "/info");
- item.put("info", info);
}
Map<String, String> properties = new HashMap<>();