With the current code in SVN compiling with debug="on" increases the jar size by 34% (1,279 KB --> 1,717 KB). Have heard folks comment in the past about how large they find the existing jars. Can't please everyone, and not planning to rock the boat now. As I pointed out before you can always recompile.
Thanks. Michael Glavassevich XML Parser Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org "Dave Brosius" <dbros...@mebigfatguy.com> wrote on 01/31/2009 03:05:07 AM: > It's more than just line numbers, it's also local variable tables, > sourcefile info > > the line number table is 4 bytes per sourceline of code in a method. > > the local variable table is 10 bytes per local variable (including parms) > > I don't believe this information gets loaded (unless debugging) so > it's just a matter of disk space. > > ----- Original Message ----- > From: Gary Gregory > To: j-users@xerces.apache.org > Cc: michael.cha...@teradata.com > Sent: Friday, January 30, 2009 7:27 PM > Subject: RE: Xerces-J Jars > > How many bytes are saved? I agree that it?s a pain when one is debugging? > > Gary > > > From: Michael Glavassevich [mailto:mrgla...@ca.ibm.com] > Sent: Friday, January 30, 2009 4:01 PM > To: j-users@xerces.apache.org > Cc: michael.cha...@teradata.com > Subject: Re: Xerces-J Jars > > Hi Mike, > > I'm pretty sure that was done long ago to reduce the jar size. If > you want the line numbers you can always recompile [1] from the > source, setting debug="on" in build.xml. > > Thanks. > > [1] http://xerces.apache.org/xerces2-j/faq-build.html#faq-2 > > Michael Glavassevich > XML Parser Development > IBM Toronto Lab > E-mail: mrgla...@ca.ibm.com > E-mail: mrgla...@apache.org > > "Chaves, Michael" <michael.cha...@teradata.com> wrote on 01/30/2009 > 06:01:42 PM: > > > All, > > The JARs in the binary distribution (Xerces-J-bin.2.9.1.zip) have > > been compiled without line number information (so it is impossible > > to step through them with the source). Did you mean to do this? > > Thanks, > > Mike