JDK-8156170 : Clean up Stage and StageHelper
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-05-05
  • Updated: 2016-05-07
  • Resolved: 2016-05-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Related Reports
Blocks :  
Description
1) Remove getStages() and make caller of this method to use public API Window.getWindows().

public static ObservableList<Stage> getStages()

2) Force Stage static initialization should be called in a static block of StageHelper rather in getStages().
Comments
Changeset: 378a29c3fe40 Author: ckyang Date: 2016-05-06 17:02 -0700 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/378a29c3fe40
07-05-2016

+1
06-05-2016

Please review the proposed fix: http://cr.openjdk.java.net/~ckyang/JDK-8156170/webrev.00/
06-05-2016