提交 31cc09bd 编写于 作者: R rstevens

8160941: "text/uri-list" dataflavor concats the first two strings

Reviewed-by: mcherkas, alexsch
上级 2e4f1d95
......@@ -147,8 +147,7 @@ public class CDataTransferer extends DataTransferer {
String separator = System.getProperty("line.separator");
StringBuilder sb = new StringBuilder();
if(strings.length > 0) {
sb.append(strings[0]);
for(int i = 1; i < strings.length; i++) {
for(int i = 0; i < strings.length; i++) {
sb.append(strings[i]);
sb.append(separator);
}
......
......@@ -23,7 +23,7 @@
/*
@test
@bug 8081787 8136763
@bug 8081787 8136763 8160941
@author Mikhail Cherkasov
@run main/manual MacOsXFileAndMultipleFileCopingTest
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册