JDK-8130478 : Reconsider "awt.toolkit" property usage in java.awt.Toolkit getDefaultToolkit() method
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-07-06
  • Updated: 2017-05-17
  • Resolved: 2015-07-30
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
9 b78Fixed
Related Reports
Relates :  
Description
The javadoc for the  java.awt.Toolkit getDefaultToolkit() method claims: 
----------------------
If there is no "java.awt.headless" or it is set to false and there is a system property named "awt.toolkit", that property is treated as the name of a class that is a subclass of Toolkit; otherwise the default platform-specific implementation of Toolkit is used. 
----------------------

It should be reconsidered is this property still useful after the modularization updated in JDK 9.
Se also Removing all methods that use the AWT peer types in JDK 9 email:
http://mail.openjdk.java.net/pipermail/awt-dev/2015-February/008924.html