changeset 12433:ac48511f8b50

7160895: tools/launcher/VersionCheck.java attempts to launch .debuginfo Summary: Do not install .debuginfo files in bin dir. Reviewed-by: ksrini, sspitsyn
author dcubed
date Thu, 12 Apr 2012 16:23:24 -0700
parents 748fcaa0e0c1
children 554e573ebb1b
files jdk/make/common/Program.gmk
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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