src/jdk/nashorn/internal/runtime/options/OptionTemplate.java
Print this page
*** 23,32 ****
--- 23,33 ----
* questions.
*/
package jdk.nashorn.internal.runtime.options;
+ import java.util.Locale;
import java.util.TimeZone;
import jdk.nashorn.internal.runtime.QuotedStringTokenizer;
/**
* This describes the valid input for an option, as read from the resource
*** 261,271 ****
break;
case "params":
this.params = arg;
break;
case "type":
! this.type = arg.toLowerCase();
break;
case "default":
this.defaultValue = arg;
break;
case "dependency":
--- 262,272 ----
break;
case "params":
this.params = arg;
break;
case "type":
! this.type = arg.toLowerCase(Locale.ROOT);
break;
case "default":
this.defaultValue = arg;
break;
case "dependency":