7160895: tools/launcher/VersionCheck.java attempts to launch .debuginfo
Summary: Do not install .debuginfo files in bin dir.
Reviewed-by: ksrini, sspitsyn
--- 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