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

Print this page

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

    @@ -267,11 +267,11 @@
     //
     //                String name = f.toString();
     //                name = name.substring(name.lastIndexOf("Color."));
     //
     //                String displayName = f.getName();
    -//                displayName = displayName.substring(0, 1) + displayName.substring(1).toLowerCase();
    +//                displayName = displayName.substring(0, 1) + displayName.substring(1).toLowerCase(Locale.ROOT);
     //
     //                System.out.println("colorNameMap.put(" + name + ", \"" + displayName + "\");");
     //            }
     //        }