< prev index next >
src/java.base/unix/classes/java/lang/ProcessEnvironment.java
Print this page
*** 97,107 ****
((Map<Variable,Value>)(theEnvironment.clone()));
}
/* Only for use by Runtime.exec(...String[]envp...) */
static Map<String,String> emptyEnvironment(int capacity) {
! return new StringEnvironment(new HashMap<Variable,Value>(capacity));
}
private static native byte[][] environ();
// This class is not instantiable.
--- 97,107 ----
((Map<Variable,Value>)(theEnvironment.clone()));
}
/* Only for use by Runtime.exec(...String[]envp...) */
static Map<String,String> emptyEnvironment(int capacity) {
! return new StringEnvironment(new HashMap<>(capacity));
}
private static native byte[][] environ();
// This class is not instantiable.
< prev index next >