JDK-8092873 : Restore com.sun.javafx.Utils class for SQE tests
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: 8u60
  • Priority: P3
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2015-04-01
  • Updated: 2016-03-03
  • Resolved: 2015-04-03
Related Reports
Relates :  
Description
The FX 8 SQE test suite uses static utility methods in com.sun.javafx.Utils. As a result of RT-40000 this class, along with other classes in the graphics module that were in that package, has been moved to the com.sun.javafx.util package (to avoid the split package restriction).

In order to avoid SQE needing to maintain two sets of tests for FX 8u (one for 8u60 and later and one for pre-8u60), we will create a Utils class with all of the same static methods, and forward those methods to the new Utils class.
Comments
Based on input from Alexander I, it seems that this is not needed. Please comment if you feel otherwise.
03-04-2015

Attached a quick proof of concept class (haven't compiled or tested it, but NetBeans thinks it's OK).
01-04-2015

Please let me know by tomorrow if you need this done, and I can fix this in 8u60-b10. Also, if you are using any other com.sun.javafx or similar FX internal packages, now would be a good time to examine them and find an alternative. Such classes will become inaccessible in 9.
01-04-2015

NOTE: this fix must *not* be done for FX 9 since Jigsaw does not support split packages across modules.
01-04-2015