Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
9
-
b166
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8179164 | 10 | Sergey Bylokhov | P2 | Resolved | Fixed | b06 |
Description
Module java.datatransfer actually depends on java.desktop while it should not.
1) j.awt.datatransfer.DataFlavor spec mentions java.awt.Image belonging to "java.desktop" and has constant field imageFlavor which represents java.awt.Image class
2) when starting with "--limit-modules java.base,java.datatransfer" (and not having java.desktop resolved) this static field is set to null
1) j.awt.datatransfer.DataFlavor spec mentions java.awt.Image belonging to "java.desktop" and has constant field imageFlavor which represents java.awt.Image class
2) when starting with "--limit-modules java.base,java.datatransfer" (and not having java.desktop resolved) this static field is set to null
Attachments
Issue Links
- backported by
-
JDK-8179164 DataFlavor.imageFlavor is null when the java.desktop module is not resolved
-
- Resolved
-