This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: add '-f' option to gcj-dbtool
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: java-patches at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 08 Mar 2005 10:21:37 +0530
- Subject: Re: Patch: FYI: add '-f' option to gcj-dbtool
- References: <m37jkjte7q.fsf@localhost.localdomain>
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.
Sorry, I was too lazy that day to follow it up with
a patch... :-/
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/