This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

where do stack traces get filled in?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]