## modules/controls/src/main/java/com/sun/javafx/scene/control/behavior/TextBinding.java

Print this page

    rev 4839 : RT-2529: Locale specific runtime errors (Turkish)

    *** 23,32 ****
    --- 23,33 ----
       * questions.
       */

      package com.sun.javafx.scene.control.behavior;

    + import java.util.Locale;
      import java.util.StringTokenizer;

      import javafx.scene.input.KeyCode;

      /**
    *** 329,339 ****
              while (!parseFail && tokenizer.hasMoreTokens()) {
                  String token = tokenizer.nextToken();
                  if (!tokenizer.hasMoreTokens()) {
                      text = token;
                  } else {
    !                 KeyCode code = KeyCode.getKeyCode(token.toUpperCase());
                      if (code != null) {
                          switch (code) {
                            case CONTROL:
                              controlDown = true;
                              break;
    --- 330,340 ----
              while (!parseFail && tokenizer.hasMoreTokens()) {
                  String token = tokenizer.nextToken();
                  if (!tokenizer.hasMoreTokens()) {
                      text = token;
                  } else {
    !                 KeyCode code = KeyCode.getKeyCode(token.toUpperCase(Locale.ROOT));
                      if (code != null) {
                          switch (code) {
                            case CONTROL:
                              controlDown = true;
                              break;