Java compilation and -g
Erik Joelsson
erik.joelsson at oracle.com
Fri Apr 11 14:40:12 UTC 2014
Hello,
While converting the build to the new build-infra makefiles, one thing
that annoyed me was the fact that we aren't consistently compiling with
or without -g for java code. In the new makefiles we just emulate the
same behavior, but I would like to sort it out properly now.
Currently langtools, jaxp and jaxws repos build with -g always, while
corba and jdk only build with -g when DEBUG_LEVEL is fastdebug or slowdebug.
How would we really like this to work? Is there a reason not to ship
with -g enabled? I know from personal experience that I get very annoyed
when I can't step into the jdk classes and look at local variable values
when debugging my own java applications.
/Erik
More information about the build-dev
mailing list