Re: RFR: 8260619: Add final modifier to several DataFlavor static fields

2021-03-23 Thread Alexander Zuev
On Mon, 22 Mar 2021 22:03:15 GMT, Sergey Bylokhov  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


Re: RFR: 8260619: Add final modifier to several DataFlavor static fields

2021-03-23 Thread Alexander Zvegintsev
On Mon, 22 Mar 2021 22:03:15 GMT, Sergey Bylokhov  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


RFR: 8260619: Add final modifier to several DataFlavor static fields

2021-03-22 Thread Sergey Bylokhov
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