<Swing Dev> [9] Review request for 8059739: Dragged and Dropped data is corrupted for two data types

Petr Pchelko petr.pchelko at oracle.com
Fri Nov 14 12:09:18 UTC 2014


Hello, Anton.

To get a charset from the DataFlavor object there is a utility method: DataFlavorUtils.getTextCharset.
Could you please reuse this method, it's more precise than a fallback to plain unicode.

With best regards. Petr.

On 14 нояб. 2014 г., at 16:49, Anton Nashatyrev <anton.nashatyrev at oracle.com> wrote:

> Hello,
>    could you please review the following fix:
> 
> fix: http://cr.openjdk.java.net/~anashaty/8059739/9/webrev.00/ <http://cr.openjdk.java.net/%7Eanashaty/8059739/9/webrev.00/>
> bug: https://bugs.openjdk.java.net/browse/JDK-8059739
> 
>    BasicTransferable should create InputStream for text with respect to 'charset' MIME parameter.
> 
> Thanks!
> Anton.




More information about the swing-dev mailing list