8130478: Reconsider "awt.toolkit" property usage in java.awt.Toolkit getDefaultToolkit() method
Reviewed-by: prr, serb
--- a/jdk/src/java.desktop/share/classes/java/awt/Toolkit.java Wed Jul 29 20:32:35 2015 +0300
+++ b/jdk/src/java.desktop/share/classes/java/awt/Toolkit.java Thu Jul 30 12:31:20 2015 +0400
@@ -519,13 +519,7 @@
* <p>
* If a system property named {@code "java.awt.headless"} is set
* to {@code true} then the headless implementation
- * of {@code Toolkit} is used.
- * <p>
- * If there is no {@code "java.awt.headless"} or it is set to
- * {@code false} and there is a system property named
- * {@code "awt.toolkit"},
- * that property is treated as the name of a class that is a subclass
- * of {@code Toolkit};
+ * of {@code Toolkit} is used,
* otherwise the default platform-specific implementation of
* {@code Toolkit} is used.
* <p>