JDK-8177379 : Dialog API javadoc close() and hide() methods description are backwards
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8,9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: other
  • CPU: x86
  • Submitted: 2017-03-21
  • Updated: 2017-03-22
  • Resolved: 2017-03-22
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
9Resolved
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE PROBLEM :
close
=====
public final void close()
Hides the dialog.

hide
=====
public final void hide()
closes the dialog.


URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Dialog.html#showAndWait--


Comments
I will fix this along with other typos as part of JDK-8177341
22-03-2017

issue is verified in JDK 8 and JDK 9 documentation. Statements needs to be corrected for close() and hide() methods: https://docs.oracle.com/javase/8/javafx/api/javafx/scene/control/Dialog.html#close-- http://download.java.net/java/jdk9/jfxdocs/javafx/scene/control/Dialog.html#close-- Moving it to JDK for developer's evaluation.
22-03-2017