This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Too much information in stack traces?
- From: Andrew Haley <aph at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 2 Oct 2002 18:41:32 +0100 (BST)
- Subject: Too much information in stack traces?
- References: <1033580232.1697.44.camel@dhcppc2>
Anthony Green writes:
> While running a fully compiled Tomcat with jsp is extremely cool -
> there's one thing that's been bugging me. Any time there's an exception
> in the servlet or jsp, Tomcat displays a page with a nice html version
> of the stack trace. It's fun to see the gcj stack traces there -- but
> I'm wondering if we're exposing too much information.
>
> The stack traces include PC addresses.
Your gcj is out of date. I get:
Exception in thread "main" java.lang.NullPointerException
at Foo.main(java.lang.String[]) (/cuddles/aph/home/foo.java:15)
Andrew.