<AWT Dev> Integrated: 8260619: Add final modifier to several DataFlavor static fields

Sergey Bylokhov serb at openjdk.java.net
Wed Mar 24 21:44:40 UTC 2021


On Mon, 22 Mar 2021 22:03:15 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This request proposes changing the state of a few static constants in the DataFlavor class.
> 
> The fields selectionHtmlFlavor/fragmentHtmlFlavor/allHtmlFlavor added to the java.awt.datatransfer.DataFlavor class in JDK8 were not marked as final as are other similar constants in this class.
> 
> See more information in CSR: https://bugs.openjdk.java.net/browse/JDK-8260620

This pull request has now been integrated.

Changeset: 37f494ca
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/37f494ca
Stats:     6 lines in 1 file changed: 0 ins; 0 del; 6 mod

8260619: Add final modifier to several DataFlavor static fields

Reviewed-by: azvegint, kizune

-------------

PR: https://git.openjdk.java.net/jdk/pull/3134


More information about the awt-dev mailing list