8177672: DataFlavor.imageFlavor is null when the java.desktop module is not resolved
Reviewed-by: prr, mchung, alanb
This commit is contained in:
parent
6f11b96297
commit
92159b8ff2
@ -211,6 +211,9 @@ public class DataFlavor implements Externalizable, Cloneable {
|
||||
* representationClass = java.awt.Image
|
||||
* mimeType = "image/x-java-image"
|
||||
* </pre>
|
||||
* Will be {@code null} if {@code java.awt.Image} is not visible, the
|
||||
* {@code java.desktop} module is not loaded, or the {@code java.desktop}
|
||||
* module is not in the run-time image.
|
||||
*/
|
||||
public static final DataFlavor imageFlavor = createConstant("image/x-java-image; class=java.awt.Image", "Image");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user