(String name)
| 132 | } |
| 133 | |
| 134 | public static String getenv(String name) throws NullPointerException, |
| 135 | SecurityException { |
| 136 | if (getSecurityManager() != null) { // is this allowed? |
| 137 | getSecurityManager(). |
| 138 | checkPermission(new RuntimePermission("getenv." + name)); |
| 139 | } |
| 140 | return getenv().get(name); |
| 141 | } |
| 142 | |
| 143 | public static Map<String, String> getenv() throws SecurityException { |
| 144 | if (getSecurityManager() != null) { // is this allowed? |
nothing calls this directly
no test coverage detected