<AWT Dev> [9] Review Request: 8177672 DataFlavor.imageFlavor is null when the java.desktop module is not resolved

Sergey Bylokhov sergey.bylokhov at oracle.com
Fri Mar 31 16:36:03 UTC 2017

Please review the fix for jdk9.

There is an optional dependency of java.datatransfer module from java.desktop. If the java.desktop module is not present then the application will not be able to use  java.awt.Image and related DataFlavor.imageFlavor.
So the specification is updated to clarify this behavior. Note that the text «not successfully loaded» is used, because it is also used for the similar issue in the constructor of this class.

Bug: https://bugs.openjdk.java.net/browse/JDK-8177672
Webrev can be found at: http://cr.openjdk.java.net/~serb/8177672/webrev.00

More information about the awt-dev mailing list