Lines Matching defs:environment
221 Map<String,String> environ = new ProcessBuilder().environment();
231 Map<String,String> environ = new ProcessBuilder().environment();
240 Map<String,String> environ = new ProcessBuilder().environment();
251 private static String getenvAsString(Map<String,String> environment) {
253 for (Map.Entry<String,String> e : environment.entrySet())
254 // Ignore magic environment variables added by the launcher
348 pb2.environment().put("PATH", "anyOldPathIgnoredAnyways");
369 pb2.environment().put("PATH", "anyOldPathIgnoredAnyways");
370 pb3.environment().remove("PATH");
487 pb.environment().put("PATH","dir3");
566 out.println("Testing " + encoding + " environment values");
568 pb.environment().put("ASCIINAME",tested);
655 * environment. The environment variable JAVA_MAIN_CLASS_<pid> should also
666 + "an empty environment.");
1095 Map<String,String> environ = pb.environment();
1122 // Pass Empty environment to child
1126 pb.environment().clear();
1129 pb.environment().put("SystemRoot", systemRoot);
1168 final Map<String,String> m = new ProcessBuilder().environment();
1237 // Nulls in environment updates generate NullPointerException
1240 final Map<String,String> env = new ProcessBuilder().environment();
1254 // Non-String types in environment updates generate ClassCastException
1257 final Map<String,String> env = new ProcessBuilder().environment();
1266 // Check query operations on environment maps
1272 envs.add(new ProcessBuilder().environment());
1275 // Nulls in environment queries are forbidden.
1286 // Non-String types in environment queries are forbidden.
1296 // Illegal String values in environment queries are (grumble) OK
1309 new ProcessBuilder().environment().entrySet();
1343 // A surprisingly large number of ways to delete an environment var.
1362 = new ProcessBuilder().environment();
1405 // A surprisingly small number of ways to add an environment var.
1412 // A few ways to modify an environment var.
1425 // Fiddle with environment sizes
1428 Map<String,String> environ = new ProcessBuilder().environment();
1435 // Check for environment independence
1436 new ProcessBuilder().environment().clear();
1450 environ = new ProcessBuilder().environment();
1454 environ = new ProcessBuilder().environment();
1458 environ = new ProcessBuilder().environment();
1466 checkMapSanity(new ProcessBuilder().environment());
1468 checkMapEquality(new ProcessBuilder().environment(),
1469 new ProcessBuilder().environment());
1480 pb.environment().put("QwErTyUiOp","AsDfGhJk");
1492 // Check for sort order of environment variables on Windows.
1501 // On Windows, Java must keep the environment sorted.
1616 "Windows environment variables are not case insensitive");
1621 // Test proper Unicode child environment transfer
1626 pb.environment().put("\u1234","\u5678");
1627 pb.environment().remove("PATH");
1656 pb.environment().clear();
1657 pb.environment().put("SystemRoot", systemRoot);
1658 pb.environment().put("=ExitValue", "3");
1659 pb.environment().put("=C:", "\\");
1747 pb.environment().remove("PATH");
1761 pb.environment().put("PATH", "dir1:dir2:");
1776 pb.environment().put("PATH", "suBdiR");
2092 new ProcessBuilder().environment();
2101 // environment permission by itself insufficient
2104 pb.environment().put("foo","bar");
2110 pb.environment().put("foo","bar");
2118 pb.environment().put("foo","bar");
2125 // Don't need environment permission unless READING environment
2132 // Don't need environment permission unless READING environment