RFR: 8269115: WebView paste event contains old data [v2]

Jay Bhaskar duke at openjdk.java.net
Thu Feb 24 16:37:12 UTC 2022


On Thu, 24 Feb 2022 16:05:41 GMT, Jay Bhaskar <duke at openjdk.java.net> 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.
>
> Jay Bhaskar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   PR commnets applied

The commit was before the latest webkit update , yes the test pass without fix, i will investigate and apply the required change

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

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


More information about the openjfx-dev mailing list