8209195: Packager help content missing JDK-8200758-branch
authorherrick
Sat, 11 Aug 2018 10:23:19 -0400
branchJDK-8200758-branch
changeset 56853 06c322468f90
parent 56852 3f9d897fb81d
child 56854 aedce3eaaf17
8209195: Packager help content missing Reviewed-by: almatvee
src/jdk.packager/share/classes/jdk/packager/internal/resources/CLIHelp.properties
src/jdk.packager/windows/native/jpackager/javapackager.cpp
--- a/src/jdk.packager/share/classes/jdk/packager/internal/resources/CLIHelp.properties	Sat Aug 11 10:16:12 2018 -0400
+++ b/src/jdk.packager/share/classes/jdk/packager/internal/resources/CLIHelp.properties	Sat Aug 11 10:23:19 2018 -0400
@@ -79,7 +79,7 @@
 \          Directory in which to use and place temporary files.\n\
 \  --runtime-image\n\
 \          Location of the predefined runtime image that is used to build\n\
-\          an application image and installable package.
+\          an application image and installable package.\n\
 \  --app-image\n\
 \          Location of the predefined application image that is used to build\n\
 \          an installable package.\n\
--- a/src/jdk.packager/windows/native/jpackager/javapackager.cpp	Sat Aug 11 10:16:12 2018 -0400
+++ b/src/jdk.packager/windows/native/jpackager/javapackager.cpp	Sat Aug 11 10:23:19 2018 -0400
@@ -31,6 +31,8 @@
 #include "IconSwap.h"
 #include "VersionInfoSwap.h"
 
+#define _DEBUG true
+
 #ifdef _DEBUG
 #include <iostream>
 #include <sstream>
@@ -548,7 +550,7 @@
                 L" " + args;
 
 #ifdef _DEBUG
-    printf ("%s", cmd.c_str());
+    fwprintf (stdout, TEXT("%s"), cmd.c_str());
 #endif
 
     STARTUPINFO start;