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

Phil Race philip.race at oracle.com
Fri Mar 31 16:51:48 UTC 2017

That works for me. Don't forget to get an approved CCC before pushing.


On 03/31/2017 09:36 AM, Sergey Bylokhov wrote:
> Hello,
> 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