-
Bug
-
Resolution: Fixed
-
P4
-
1.3.0
-
beta
-
sparc
-
solaris_2.5.1
Name: sdC67446 Date: 01/26/2000
The doc for
java.awt.datatransfer.StringSelection.isDataFlavorSupported(DataFlavor flavor)
does not specify behavior if flavor' == null.
Currently method returns false.
The javadoc says:
------------------------------------------------------------
/**
* Returns whether the requested flavor is supported by this Transferable.
*
* @param flavor the requested flavor for the data
* @return true if flavor is equal to <code>DataFlavor.stringFlavor</code>
* or <code>DataFlavor.plainTextFlavor</code>, false otherwise.
*/
public boolean isDataFlavorSupported(DataFlavor flavor)
------------------------------------------------------------
======================================================================