-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 1.2.0
-
Component/s: client-libs
-
sparc
-
solaris_2.6
Name: vsC58871 Date: 08/18/98
1. Javadoc comment for method getFile()
says that this method
"returns the currently selected file of this file dialog window,
or null if none is selected.".
^^^^^^^
This is not true.
In accordance with the AWT's general null-handling methodology,
this method should return "" instead of null.
And in JDK12-fcsF getFile() returns "".
2. Javadoc comment for method getDirectory() says nothing
about return value when there is no selected file.
======================================================================
- relates to
-
JDK-4172144 Save & Cancel causes extra exception
-
- Closed
-