Skip to content

Commit c4221b5

Browse files
committed
fixing awt/datatransfer/DataFlavor/DataFlavorRemoteTest.java
1 parent bb73093 commit c4221b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/java/awt/datatransfer/DataFlavor/DataFlavorRemoteTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public static void main(String[] args) throws Exception {
5656
ProcessResults processResults =
5757
ProcessCommunicator
5858
.executeChildProcess(Consumer.class, new String[0]);
59-
if (!"Hello".equals(processResults.getStdErr())) {
59+
if (!"Hello".equals(processResults.getStdOut())) {
6060
throw new RuntimeException("transfer of remote object failed");
6161
}
6262
System.out.println("ok");
@@ -69,7 +69,7 @@ public static void main(String[] args) throws Exception {
6969
DataFlavor dataFlavor = new DataFlavor(DataFlavor.javaRemoteObjectMimeType +
7070
";class=Hello" );
7171
Object data = clipboard.getData(dataFlavor);
72-
System.err.print(((Hello) data).sayHello());
72+
System.out.print(((Hello) data).sayHello());
7373
}
7474

7575
}

0 commit comments

Comments
 (0)