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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Sergey Bylokhov-2
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

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

Commit messages:
 - Merge branch 'master' into JDK-8260619
 - Update DataFlavor.java
 - Merge branch 'master' into JDK-8260619
 - Update DataFlavor.java

Changes: https://git.openjdk.java.net/jdk/pull/3134/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3134&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8260619
  Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3134.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3134/head:pull/3134

PR: https://git.openjdk.java.net/jdk/pull/3134
Reply | Threaded
Open this post in threaded view
|

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

Alexander Zvegintsev-2
On Mon, 22 Mar 2021 22:03:15 GMT, Sergey Bylokhov <[hidden email]> 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

Marked as reviewed by azvegint (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/3134
Reply | Threaded
Open this post in threaded view
|

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

Alexander Zuev-3
In reply to this post by Sergey Bylokhov-2
On Mon, 22 Mar 2021 22:03:15 GMT, Sergey Bylokhov <[hidden email]> 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

Marked as reviewed by kizune (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/3134
Reply | Threaded
Open this post in threaded view
|

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

Sergey Bylokhov-2
In reply to this post by Sergey Bylokhov-2
On Mon, 22 Mar 2021 22:03:15 GMT, Sergey Bylokhov <[hidden email]> 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 <[hidden email]>
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