changeset 36:1ff1b8b0ee57

6829575: 100028: Debug information is incomplete or missing Summary: Enable debugging in many places Reviewed-by: ohair, darcy
author aph
date Thu, 28 May 2009 17:45:16 +0100
parents 28a5b20dc295
children 35ab1df79fde
files make/Makefile make/build.properties make/build.xml
diffstat 3 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/Makefile	Tue May 19 17:31:29 2009 -0700
+++ b/make/Makefile	Thu May 28 17:45:16 2009 +0100
@@ -69,6 +69,10 @@
   endif
 endif
 
+ifeq ($(DEBUG_CLASSFILES), true)
+  ANT_OPTIONS += -Djavac.debug=true
+endif
+
 # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN)
 # and the somewhat misnamed CLASS_VERSION (-target NN)
 ifdef TARGET_CLASS_VERSION
--- a/make/build.properties	Tue May 19 17:31:29 2009 -0700
+++ b/make/build.properties	Thu May 28 17:45:16 2009 +0100
@@ -32,7 +32,6 @@
 # options for the <javac> tasks used to compile the tools
 javac.target = 5
 javac.debug = true
-javac.debuglevel = source,lines
 javac.no.jdk.warnings = -XDignore.symbol.file=true
 # set the following to -version to verify the versions of javac being used
 javac.version.opt = 
--- a/make/build.xml	Tue May 19 17:31:29 2009 -0700
+++ b/make/build.xml	Thu May 28 17:45:16 2009 +0100
@@ -107,6 +107,7 @@
              destdir="${build.classes.dir}"
              memoryInitialSize="${javac.memoryInitialSize}"
              memoryMaximumSize="${javac.memoryMaximumSize}"
+	     debug="${javac.debug}"
              target="${javac.target}"
              excludes="com/sun/tools/internal/txw2/**">
          <compilerarg value="-J-Xbootclasspath/p:${bootstrap.dir}/lib/javac.jar"/>