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

Reconsider "awt.toolkit" property usage in java.awt.Toolkit getDefaultToolkit() method

XMLWordPrintable

    • b78

        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

              alexsch Alexandr Scherbatiy
              alexsch Alexandr Scherbatiy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: