EVALUATION
It is not clear to me if these symtab files should exist in the bin
directory, if they should then please provide a specification.
If it should not exist in the product build, then why does it exist
in the product build ?
|
|
|
EVALUATION
The debug info on Windows in $JAVA_HOME/jre/bin is for libraries
and not for programs. In my attempt to make everything architecturally
the same, I misinterpreted what the leading architecture (Windows)
had in the way of Full Debug Symbols... Yes, it's hard to use
"leading architecture" and "Windows" in the same sentence, but it's
true. Windows has had FDS since JDK1.4.1...
I will use this bug (7160895) to back out the installation of
Full Debug Symbols for programs. Yes, I did mean just installation.
The Windows build does generate .map and .pdb files for programs,
but it does not install them. I'll do the same for Linux and
Solaris.
|
|
|
SUGGESTED FIX
Here is the context diff for the fix:
$ hg diff make/common/Program.gmk
diff -r d922195b678d make/common/Program.gmk
--- a/make/common/Program.gmk Wed Apr 11 07:26:35 2012 -0700
+++ b/make/common/Program.gmk Thu Apr 12 13:38:36 2012 -0700
@@ -268,6 +268,11 @@ else
$(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
|
|
|
EVALUATION
Changeset: 70d82f2a6c11
Author: dcubed
Date: 2012-04-12 16:23 -0700
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/70d82f2a6c11
7160895: tools/launcher/VersionCheck.java attempts to launch .debuginfo
Summary: Do not install .debuginfo files in bin dir.
Reviewed-by: ksrini, sspitsyn
! make/common/Program.gmk
|
|
|
|