Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8128667

Ensemble must not use undocumented and unsupported com.sun methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • fx2.0.2
    • fx2.0
    • javafx
    • None

      While doing some internal refactoring of an internal implementation we discovered that our shipping version of Ensemble uses at least one private, undocumented, and unsupported class: com.sun.javafx.Utils. This is very bad since it creates a dependency on this, and will break when we modularize or otherwise hide private API from apps.

      The following is a grep of com.sun.javafx in the Ensemble source code:

      src/ensemble/controls/WindowButtons.java:import com.sun.javafx.Utils;
      src/ensemble/controls/WindowResizeButton.java:import com.sun.javafx.Utils;
      src/ensemble/samples/charts/custom/AdvStackedBarChartSample.java:import com.sun.javafx.charts.Legend;

            dmasada Debra Masada (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: