JDK-8225358 : Release Note: Removal of awt.toolkit System Property
  • Type: Sub-task
  • Component: client-libs
  • Affected Version: 13
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2019-06-05
  • Updated: 2019-08-09
  • Resolved: 2019-06-05
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 13
13Resolved
Description
Historically (up to JDK 1.8), documentation for the `java.awt.Toolkit` class
referred to the "awt.toolkit" system property, which was set to the
name of the platform implementation subclass.
The documentation of this property was removed in JDK 9 because
(1) it was an internal detail not intended to be a supported interface
and (2) encapsulation by the module system meant that the class could
not be directly manipulated.
However, the system property was not removed until now.
Applications that previously read this property can still, if
necessary, obtain it by instantiating the AWT Toolkit and querying
the class name via that instance.