equal
deleted
inserted
replaced
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(); |