Java compilation and -g
chris.hegarty at oracle.com
Fri Apr 11 14:53:07 UTC 2014
On 11/04/14 15:40, Erik Joelsson wrote:
> 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
> 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.
I can understand that this may be different for actual product builds.
More information about the build-dev