8160359: Improve jlink logging for cases when a plugin throws exception
Reviewed-by: jlaskey, redestad
--- a/make/Images.gmk Mon Nov 28 18:04:52 2016 -0800
+++ b/make/Images.gmk Wed Nov 30 19:28:45 2016 +0530
@@ -125,7 +125,8 @@
/jdk.localedata/** \
#
-JLINK_TOOL := $(JLINK) --module-path $(IMAGES_OUTPUTDIR)/jmods \
+JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
+ --module-path $(IMAGES_OUTPUTDIR)/jmods \
--endian $(OPENJDK_BUILD_CPU_ENDIAN) \
--release-info $(BASE_RELEASE_FILE) \
--order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \