Hi Sergey,
I've got another question: must the number of IFs be equal in these
methods? I'm not sure about that.
Thanks,
Oleg
On 29.10.2013 17:02, Sergey Bylokhov wrote:
Hi, Oleg.
Can you recheck please that now translateBytes and translateStream are
the same in terms of such IFs;
On 28.10.2013 2:41, Oleg Pekhovskiy wrote:
Hi all,
please review the fix
http://cr.openjdk.java.net/~bagiras/8027151.1/
for
https://bugs.openjdk.java.net/browse/JDK-8027151
This issue appeared after the changes made for JDK-7075105.
There were two problems:
1. In drop target code, in SunDropTargetContextPeer.getTransferData()
method inputStream was closed in finally scope but was not yet used in
client code (indirectly). Just its reference stored for the future in
DataTransferer.getInstance().translateStream() call.
2. In drop target code, in DataTransferer.translateStream() there was
no String object handler (it was moved from
DataTransferer.translateBytesOrStream() only to
DataTransferer.translateBytes() method).
Thanks,
Oleg