where do stack traces get filled in?

Andrew Haley aph@cambridge.redhat.com
Thu Dec 13 02:04:00 GMT 2001


Adam Megacz writes:
 > 
 > I see Throwable.stackTrace, but it never gets created in
 > Throwable.java or natThrowable.cc...

It does.  The exact way this works is specified in the Java API: When
Throwable's constructor is executed, the method fillInStackTrace() is
called.

Andrew.



More information about the Java mailing list