8160359: Improve jlink logging for cases when a plugin throws exception
authorsundar
Wed, 30 Nov 2016 19:28:45 +0530 (2016-11-30)
changeset 42287 925cf8cf736c
parent 42286 039f2a4129d1
child 42288 600cfdaa270a
child 42290 78f42d447fc3
8160359: Improve jlink logging for cases when a plugin throws exception Reviewed-by: jlaskey, redestad
make/Images.gmk
--- 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)) \