8015371: The HTML text without tags does not appear inside the WordPad application, and we try to click the button, but the case exits.
Reviewed-by: anthony, serb
--- a/jdk/src/windows/classes/sun/awt/windows/WDataTransferer.java Fri Sep 13 17:25:31 2013 +0400
+++ b/jdk/src/windows/classes/sun/awt/windows/WDataTransferer.java Fri Sep 13 17:38:28 2013 +0400
@@ -211,9 +211,9 @@
DataFlavor.allHtmlFlavor,
format);
} else {
- // handel other html flavor types, including custom and
+ // handle other html flavor types, including custom and
// fragment ones
- bytes = HTMLCodec.convertToHTMLFormat(bytes);
+ bytes = HTMLCodec.convertToHTMLFormat(super.translateTransferable(contents, flavor, format));
}
} else {
// we handle non-html types basing on their