8160348: jlink should use System.out for usage messages
authorjlaskey
Mon, 27 Jun 2016 09:26:47 -0300
changeset 39156 92844b32bcec
parent 39155 61d7981116d9
child 39157 bba1e4c5c547
8160348: jlink should use System.out for usage messages Reviewed-by: sundar
jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java
--- a/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java	Mon Jun 27 14:55:06 2016 +0530
+++ b/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkTask.java	Mon Jun 27 09:26:47 2016 -0300
@@ -176,7 +176,7 @@
 
     int run(String[] args) {
         if (log == null) {
-            setLog(new PrintWriter(System.err, true));
+            setLog(new PrintWriter(System.out, true));
         }
         try {
             optionsHelper.handleOptions(this, args);