File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/jdk/java/awt/datatransfer/DataFlavor Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments