src/jdk/nashorn/internal/runtime/options/OptionTemplate.java
Print this page
@@ -23,10 +23,11 @@
* 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,11 +262,11 @@
break;
case "params":
this.params = arg;
break;
case "type":
- this.type = arg.toLowerCase();
+ this.type = arg.toLowerCase(Locale.ROOT);
break;
case "default":
this.defaultValue = arg;
break;
case "dependency":