## modules/controls/src/main/java/com/sun/javafx/scene/control/skin/TableColumnHeader.java

Print this page

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

    @@ -52,10 +52,11 @@
     import javafx.scene.layout.Region;
     import javafx.util.Callback;
     import java.util.ArrayList;
     import java.util.Collections;
     import java.util.List;
    +import java.util.Locale;
     import com.sun.javafx.css.converters.SizeConverter;
     import com.sun.javafx.scene.control.MultiplePropertyChangeListenerHandler;
     import static com.sun.javafx.scene.control.TableColumnSortTypeWrapper.getSortTypeName;
     import static com.sun.javafx.scene.control.TableColumnSortTypeWrapper.getSortTypeProperty;
     import static com.sun.javafx.scene.control.TableColumnSortTypeWrapper.isAscending;

    @@ -635,11 +636,11 @@
                 Region r = new Region();
                 r.getStyleClass().add("sort-order-dot");

                 String sortTypeName = getSortTypeName(column);
                 if (sortTypeName != null && ! sortTypeName.isEmpty()) {
    -                r.getStyleClass().add(sortTypeName.toLowerCase());
    +                r.getStyleClass().add(sortTypeName.toLowerCase(Locale.ROOT));
                 }

                 sortOrderDots.getChildren().add(r);
             }