pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vadim Nasardinov <vadimn@redhat.com>
To: pgsql-jdbc@postgresql.org
Subject: stack traces are evil (was: Re: Crystal Reports / PostgreSQL)
Date: Tue, 22 Feb 2005 10:48:08 -0500
Message-ID: <200502221048.08706@vadim.nasardinov> (raw)
In-Reply-To: <420BCD50.1000608@opencloud.com>
References: <ED153B99D71F5B4ABE318CF841A5C3E69BA069@RPIDALEXC004.corp.realpage.com>
	<Pine.BSO.4.56.0502101459030.25382@leary.csoft.net>
	<420BCD50.1000608@opencloud.com>

On Thursday 10 February 2005 16:08, Oliver Jowett wrote:
> > Any ad-hoc parsing is easy to get wrong by forgetting corner
> > cases.  I'm not saying it can't be done correctly, just that we
> > shouldn't bother.
> 
> Especially given that different JVMs format stack traces
> differently, and Throwable.getStackTrace() is allowed to omit stack
> frames.

You're right as usual.

Here's a somewhat off-topic example of when relying on stack traces
backfires:

  http://weblog.ikvm.net/PermaLink.aspx?guid=245f4ca5-0512-4e66-a6c6-fa4d4af697ef



Message-ID: <200502221048.08706@vadim.nasardinov>
Permalink:  ../200502221048.08706@vadim.nasardinov/
Also on:    postgresql.org/message-id/200502221048.08706@vadim.nasardinov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: vadimn@redhat.com
  Subject: Re: stack traces are evil (was: Re: Crystal Reports / PostgreSQL)
  In-Reply-To: <200502221048.08706@vadim.nasardinov>
  References: <ED153B99D71F5B4ABE318CF841A5C3E69BA069@RPIDALEXC004.corp.realpage.com> <Pine.BSO.4.56.0502101459030.25382@leary.csoft.net> <420BCD50.1000608@opencloud.com> <200502221048.08706@vadim.nasardinov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox