RFR: 8338785: The java.awt.datatransfer.SystemFlavorMap#FLAVOR_MAP_KEY field is not used
SWinxy
duke at openjdk.org
Thu Aug 22 18:18:08 UTC 2024
On Thu, 22 Aug 2024 03:59:57 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> The unused `java.awt.datatransfer.SystemFlavorMap#FLAVOR_MAP_KEY` field is deleted.
>
> It was unused since [8037485](https://bugs.openjdk.org/browse/JDK-8037485): Refactor java.awt.datatransfer to eliminate dependency on AWT.
>
> See:
> https://github.com/openjdk/jdk/commit/0fecd7769453dfb3ef1609b057a9e69aee57d0c1#diff-2c0c7e0dbcabe2bced2907f383bdb4e2a3ed64686c219f37f7c6469ecc47d4baL198
Looks like the removal was overlooked, as in 8037485 it was copied to `DesktopDatatransferServiceImpl`.
-------------
Marked as reviewed by SWinxy at github.com (no known OpenJDK username).
PR Review: https://git.openjdk.org/jdk/pull/20670#pullrequestreview-2255347264
More information about the client-libs-dev
mailing list