Java compilation and -g
gary.adams at oracle.com
Fri Apr 11 17:47:02 UTC 2014
What is the size difference?
On 4/11/14, 10:53 AM, Chris Hegarty wrote:
> 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