Merge
authorohair
Fri, 15 May 2009 13:30:55 -0700
changeset 2853 e6ad919e7692
parent 2852 871f8e294722 (diff)
parent 2847 b7e82c5b5d13 (current diff)
child 2854 47bb5c4cb85e
Merge
hotspot/make/jprt.config
--- a/langtools/make/Makefile	Thu May 14 10:58:12 2009 -0700
+++ b/langtools/make/Makefile	Fri May 15 13:30:55 2009 -0700
@@ -105,6 +105,11 @@
   endif
 endif
 
+ifeq ($(DEBUG_CLASSFILES), true)
+  ANT_OPTIONS += -Djavac.debug=true
+  ANT_OPTIONS += -Ddebug.classfiles=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/langtools/make/build.xml	Thu May 14 10:58:12 2009 -0700
+++ b/langtools/make/build.xml	Fri May 15 13:30:55 2009 -0700
@@ -32,6 +32,13 @@
 
 <project name="langtools" default="build" basedir="..">
     
+    <!-- Force full debuginfo for javac if the debug.classfiles
+    property is set.  This must be BEFORE the include of
+    build.properties because it sets javac.debuglevel.  -->
+    <condition property="javac.debuglevel" value="source,lines,vars">
+        <equals arg1="${debug.classfiles}" arg2="true"/>
+    </condition>
+
     <!-- The following locations can be used to override default property values. -->
 
     <!-- Use this location for customizations specific to this instance of this workspace -->