Unused DEBUG_CLASSFILES variable in makefiles
omajid at redhat.com
Fri Oct 10 16:52:03 UTC 2014
The DEBUG_CLASSFILES variable seems to be completely unused but still defined
in the makefiles in jdk9 and jdk8u.
$ grep -rn DEBUG_CLASSFILES
Binary file jaxp/.hg/store/data/make/_makefile.i matches
Binary file jaxws/.hg/store/data/make/_makefile.i matches
In Fedora builds of OpenJDK 7, we used to set this to compile javacode
with the -g flag. The new build, through SetupJavaCompilation,
completely ignores this flag (looks like "JAVAC_FLAGS" controls this
now). Would it be worth it to bring back DEBUG_CLASSFILES flag? Or should
it be completely removed?
On a slightly related note, what do people think about adding a new
"DEBUG_LEVEL" that is basically the same as release, except it sets
DEBUG_BINARIES and DEBUG_CLASSFILES/JAVAC_FLAGS to get all debug info?
PGP Key: 66484681 (http://pgp.mit.edu/)
Fingerprint = F072 555B 0A17 3957 4E95 0056 F286 F14F 6648 4681
More information about the build-dev