This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch: FYI: add '-f' option to gcj-dbtool
- From: Andrew Haley <aph at redhat dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 Mar 2005 11:10:50 +0000
- Subject: Re: Patch: FYI: add '-f' option to gcj-dbtool
- References: <m37jkjte7q.fsf@localhost.localdomain><d0javb$1qp$1@sea.gmane.org>
Ranjit Mathew writes:
> Tom Tromey wrote:
> > I'm checking this in on the trunk and the 4.0 branch.
> >
> > This adds a '-f' option to gcj-dbtool, to avoid the existence check
> > for the .so. This can be simpler to use when building an RPM, where
> > the .so will not be installed at the time the .db is built.
>
> The other day I found out that gcj-dbtool crashes with a
> NullPointerException if the order of the JAR and DSO files are
> switched (as was written in the GCC wiki before I corrected it) as
> it tries to read ZIP entries from the DSO. A full stack trace might
> also be nice instead of just printing the exception IMHO.
Hmph. gcj-dbtool doesn't crash -- it reports, correctly, that the zip
decoder returned an exception.
Andrew.