On Tue, 8 Feb 2022 11:13:20 GMT, Jay Bhaskar <jbhas...@openjdk.org> wrote:

> Issue: The DataObject uses m_availMimeTypes as Vector of strings, and 
> appending mime types in pasteboard operation like setPlainText, Hence it will 
> append duplicate mime types in m_availMimeTypes , in this case the length 
> clipboardData.types would be wrong, and duplicates data would be copied to 
> clipboard target.
> Solution: Use ListHashSet data Structure instead of Vector for 
> m_availMimeTypes.

This pull request has now been integrated.

Changeset: 2338821b
Author:    Jay Bhaskar <jbhas...@openjdk.org>
Committer: Ambarish Rapte <ara...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/2338821bdbb7db929a89aa89903271dcff333a5c
Stats:     120 lines in 3 files changed: 108 ins; 3 del; 9 mod

8269115: WebView paste event contains old data

Reviewed-by: arapte, kcr

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

PR: https://git.openjdk.java.net/jfx/pull/729

Reply via email to