On Fri, 4 Mar 2022 02:50:24 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. > > Jay Bhaskar has updated the pull request incrementally with one additional > commit since the last revision: > > removed automated test HTMLClipBoardTest.java, as manual test added The new manual test looks good. It fails without the fix and passes with the fix. ------------- Marked as reviewed by kcr (Lead). PR: https://git.openjdk.java.net/jfx/pull/729