changeset 6668:5c09550dfc12

Merge
author asaha
date Wed, 12 Jun 2013 09:31:18 -0700
parents cbd812992676 2d070be9a313
children 18479f069dab
files
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/classes/java/lang/ProcessImpl.java	Thu Jun 06 12:29:57 2013 -0700
+++ b/src/windows/classes/java/lang/ProcessImpl.java	Wed Jun 12 09:31:18 2013 -0700
@@ -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	Thu Jun 06 12:29:57 2013 -0700
+++ b/test/java/lang/Runtime/exec/ExecCommand.java	Wed Jun 12 09:31:18 2013 -0700
@@ -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() );