harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@gmail.com>
Subject Re: [classlib][build] Release/debug builds for classlib
Date Fri, 08 Dec 2006 20:08:28 GMT
Tim Ellison wrote:
> Alexey Petrenko wrote:
>> 2006/12/8, Tim Ellison <t.p.ellison@gmail.com>:
>>> Alexey Petrenko wrote:
>>>> The only difference is that my version is switching debug option for
>>>> javac as well. And I think that I'll commit this modification.
>>> Is it worth it? The javac compiler doesn't generate different code with
>>> the -g option, it simply adds the debug attributes to the .class file.
>>> It will result in larger .class files, but provide meaningful debug &
>>> stracktrace info for JDK users.
>> I think that we can provide release and debug versions of HDK. If
>> someone want to debug he will take debug one. If user want to run
>> application he will take smaller and faster one :)
> By definition, the HDK is a development environment -- which should
> always include debug info.


I think Java should be compiled with -g in all cases. We want line 
numbers in stack trace. This should include kernel classes in drlvm as 
well (even in debug mode they are compiled without -g).


View raw message