--- old/modules/controls/src/main/java/javafx/scene/control/Control.java 2016-06-03 22:22:15.331310193 -0700 +++ new/modules/controls/src/main/java/javafx/scene/control/Control.java 2016-06-03 22:22:15.175310195 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -88,6 +88,10 @@ public void doProcessCSS(Node node) { ((Control) node).doProcessCSS(); } + @Override + public StringProperty skinClassNameProperty(Control control) { + return control.skinClassNameProperty(); + } }); // Ensures that the default application user agent stylesheet is loaded @@ -655,11 +659,7 @@ private String currentSkinClassName = null; private StringProperty skinClassName; - /** - * @treatAsPrivate - * @since JavaFX 2.1 - */ - @Deprecated protected StringProperty skinClassNameProperty() { + StringProperty skinClassNameProperty() { if (skinClassName == null) { skinClassName = new StyleableStringProperty() {