--- old/src/java.desktop/share/classes/sun/awt/ComponentFactory.java 2015-11-19 18:20:30.141554060 +0300 +++ new/src/java.desktop/share/classes/sun/awt/ComponentFactory.java 2015-11-19 18:20:30.013554057 +0300 @@ -73,6 +73,23 @@ default DesktopPeer createDesktopPeer(Desktop target) { throw new HeadlessException(); } + + /** + * Creates this toolkit's implementation of the {@code Taskbar} using the + * specified peer interface. + * + * @param target the taskbar to be implemented + * @return this toolkit's implementation of the {@code Taskbar} + * @throws HeadlessException if GraphicsEnvironment.isHeadless() returns + * true + * @see java.awt.GraphicsEnvironment#isHeadless + * @see java.awt.Taskbar + * @see java.awt.peer.TaskbarPeer + * @since 1.9 + */ + default TaskbarPeer createTaskbarPeer(Taskbar target) { + throw new HeadlessException(); + } /** * Creates this toolkit's implementation of {@code Button} using the