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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Nov 13 06:30:34 PST 2013


Hi, Petr.
The fix looks good.

On 13.11.2013 17:50, Petr Pchelko wrote:
> Hello, AWT Team.
>
> Please review the fix for the issue:
> https://bugs.openjdk.java.net/browse/JDK-8028230
> The fix is available at:
> http://cr.openjdk.java.net/~pchelko/8028230/webrev/
>
> 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.


-- 
Best regards, Sergey.



More information about the awt-dev mailing list