diff options
author | aph <none@none> | 2009-04-17 15:56:06 +0100 |
---|---|---|
committer | aph <none@none> | 2009-04-17 15:56:06 +0100 |
commit | 1476072f8f109f0ab36b3d68fc024a1599eaff71 (patch) | |
tree | 2bf0d6ed28b85aeb35a269ce0efd8b0828da1249 /make | |
parent | f8b0210f6e0a74da72f5403b237803a6172ff5bf (diff) | |
download | jdk8u_jaxws-1476072f8f109f0ab36b3d68fc024a1599eaff71.tar.gz |
6829575: 100028: Debug information is incomplete or missing
Summary: Enable debugging in many places
Reviewed-by: ohair
Contributed-by: Andrew Haley <aph@redhat.com>
Diffstat (limited to 'make')
-rw-r--r-- | make/Makefile | 8 | ||||
-rw-r--r-- | make/build.xml | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/make/Makefile b/make/Makefile index 56696720..48d09e60 100644 --- a/make/Makefile +++ b/make/Makefile @@ -69,6 +69,14 @@ else endif endif +ifeq ($(DEBUG_CLASSFILES), true) + ANT_OPTIONS += -Djavac.debug=true + ANT_OPTIONS += -Djavac.debuglevel=source,lines,vars +else + ANT_OPTIONS += -Djavac.debug=false + ANT_OPTIONS += -Djavac.debuglevel= +endif + # Note: jdk/make/common/Defs.gmk uses LANGUAGE_VERSION (-source NN) # and the somewhat misnamed CLASS_VERSION (-target NN) ifdef TARGET_CLASS_VERSION diff --git a/make/build.xml b/make/build.xml index 9f013e99..ba0c8ce2 100644 --- a/make/build.xml +++ b/make/build.xml @@ -98,6 +98,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"/> |