This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: Patch: FYI: add '-f' option to gcj-dbtool


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.


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