<AWT Dev> [8] RFR: JDK-8015453 java/awt/DataFlavor/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.java failed on windows with jdk8 since b86
Petr Pchelko
petr.pchelko at oracle.com
Thu Aug 15 03:22:47 PDT 2013
Hello, AWT Team.
Please review the following fix:
http://cr.openjdk.java.net/~pchelko/8015453/webrev.00/
The bug:
The test fails because of an IOException.
The problem:
It is a regression of the following fix: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/96750ebc769b
It that fix the the DataTransfer.translateBytesOrStream was splitted to translateBytes and translateStream,
however one if clause was from the original method was not moved to the translateStream method, so we were trying
to translate an object incorrectly.
The solution:
The missing if clause was added to it's place.
With best regards. Petr.
More information about the awt-dev
mailing list