jdk/src/share/classes/sun/management/RuntimeImpl.java
changeset 11530 a9d059c15b80
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
11529:e08d565262ce 11530:a9d059c15b80
   126         return jvm.isBootClassPathSupported();
   126         return jvm.isBootClassPathSupported();
   127     }
   127     }
   128 
   128 
   129     public Map<String,String> getSystemProperties() {
   129     public Map<String,String> getSystemProperties() {
   130         Properties sysProps = System.getProperties();
   130         Properties sysProps = System.getProperties();
   131         Map<String,String> map = new HashMap<String, String>();
   131         Map<String,String> map = new HashMap<>();
   132 
   132 
   133         // Properties.entrySet() does not include the entries in
   133         // Properties.entrySet() does not include the entries in
   134         // the default properties.  So use Properties.stringPropertyNames()
   134         // the default properties.  So use Properties.stringPropertyNames()
   135         // to get the list of property keys including the default ones.
   135         // to get the list of property keys including the default ones.
   136         Set<String> keys = sysProps.stringPropertyNames();
   136         Set<String> keys = sysProps.stringPropertyNames();