7160895: tools/launcher/VersionCheck.java attempts to launch .debuginfo
authordcubed
Thu, 12 Apr 2012 16:23:24 -0700
changeset 12433 ac48511f8b50
parent 12432 748fcaa0e0c1
child 12435 554e573ebb1b
7160895: tools/launcher/VersionCheck.java attempts to launch .debuginfo Summary: Do not install .debuginfo files in bin dir. Reviewed-by: ksrini, sspitsyn
jdk/make/common/Program.gmk
--- a/jdk/make/common/Program.gmk	Thu Apr 12 15:01:41 2012 -0700
+++ b/jdk/make/common/Program.gmk	Thu Apr 12 16:23:24 2012 -0700
@@ -268,6 +268,11 @@
 	   $(ZIPEXE) -q $(@F).diz $(@F).debuginfo ; \
 	   $(RM) $(@F).debuginfo ; \
 	  )
+          # save ZIP'ed debug info with rest of the program's build artifacts
+	  $(MV) $@.diz $(OBJDIR)
+        else
+          # save debug info with rest of the program's build artifacts
+	  $(MV) $@.debuginfo $(OBJDIR)
         endif
       endif # PROGRAM_SUPPORTS_FULL_DEBUG_SYMBOLS
     endif # ENABLE_FULL_DEBUG_SYMBOLS