<AWT Dev> Review Request: JDK-8028230 Behavior of SystemFlavorMap.getNativesForFlavor differ from that in Java 7

Petr Pchelko petr.pchelko at oracle.com
Wed Nov 13 05:50:00 PST 2013

Hello, AWT Team.

Please review the fix for the issue:
The fix is available at:

The problem: when initializing the flavor map, for text flavors we do the following: for a mime-type we find all DataFlavors and find add natives for that flavors and store them in a list. However, the list  could contain duplicated natives, so we should first accumulate them in a Set and then convert to a list.

The fix verified with all reg tests from dnd, clipboard and datatransfer and SQE tests for datatransfer and Clipboard. Now new failures, 2 SQE tests fixed.

Thank you.
With best regards. Petr.

More information about the awt-dev mailing list