Re: Column numbers in stack trace - enhancement request



I've never seen a warning against it on those grounds. One partial reason
might be that it's only recently (since 1.5 as I recall) that Sun's compilers
have routinely included line number information in .class files at all (it has
always been available as an option, but was not the default) and without that
you don't get line number information in stack traces.

I didn't know that Sun had made including line numbers as default in
1.5. I am assuming that Sun made this change because they have figured
out that the performance penalty incurred by including the line numbers
in the .class files is negligible in most cases due to JIT. Is that
correct?

.



Relevant Pages

  • Re: Generics error messages
    ... > though the resulting class files don't seem to be very ... > backwards-compatible in practice at the moment. ... clearly Sun will have to stick with how they've done ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: Compile java files programmatically
    ... I am also the lead engineer for javac at Sun. ... >thereby committing to their continued existence for a long time. ... changing class files that are already running. ... Coaching, problem solving, economical contract programming. ...
    (comp.lang.java.programmer)
  • Re: Forward class reference in Java?
    ... On Sun, 04 Jul 2004 21:28:55 GMT, Roedy Green ... The secondary reason for this is to ensure you have source for all the ... you delete all class files. ... Coaching, problem solving, economical contract programming. ...
    (comp.lang.java.programmer)
  • Comparing class files for equivalence
    ... I have a group of class files that were apparently compiled with two ... different compilers, and I want to know if these files were compiled ... found a lot of differences in the decompiled source code that do not ... Prev by Date: ...
    (comp.lang.java.softwaretools)