Mercurial > hg > release > icedtea7-forest-2.3 > jdk
changeset 6365:9a2b43d21270
8015965: (process) Typo in name of property to allow ambiguous commands
Reviewed-by: alanb
author | coffeys |
---|---|
date | Wed, 05 Jun 2013 18:39:44 +0100 |
parents | 53b1249d1715 |
children | 831666d451b2 |
files | src/windows/classes/java/lang/ProcessImpl.java test/java/lang/Runtime/exec/ExecCommand.java |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/windows/classes/java/lang/ProcessImpl.java Sat Aug 17 06:51:46 2013 +0800 +++ b/src/windows/classes/java/lang/ProcessImpl.java Wed Jun 05 18:39:44 2013 +0100 @@ -314,13 +314,13 @@ { String cmdstr; SecurityManager security = System.getSecurityManager(); - boolean allowAmbigousCommands = false; + boolean allowAmbiguousCommands = false; if (security == null) { - String value = System.getProperty("jdk.lang.Process.allowAmbigousCommands"); + String value = System.getProperty("jdk.lang.Process.allowAmbiguousCommands"); if (value != null) - allowAmbigousCommands = !"false".equalsIgnoreCase(value); + allowAmbiguousCommands = !"false".equalsIgnoreCase(value); } - if (allowAmbigousCommands) { + if (allowAmbiguousCommands) { // Legacy mode. // Normalize path if possible.
--- a/test/java/lang/Runtime/exec/ExecCommand.java Sat Aug 17 06:51:46 2013 +0800 +++ b/test/java/lang/Runtime/exec/ExecCommand.java Wed Jun 05 18:39:44 2013 +0100 @@ -129,7 +129,7 @@ for (int k = 0; k < 3; ++k) { switch (k) { case 1: - System.setProperty("jdk.lang.Process.allowAmbigousCommands", ""); + System.setProperty("jdk.lang.Process.allowAmbiguousCommands", ""); break; case 2: System.setSecurityManager( new SecurityMan() );