bug in ZipInputStream

Andrew Haley aph@redhat.com
Fri Dec 13 02:21:00 GMT 2002


Erik Poupaert writes:
 > 
 > And then an annoying newbie question: how do I switch on the stacktrace in
 > gcj?

It should be switched on already.  You don't say what architecture
you're using.

 > And last, probably another annoying question: what compilation options can I
 > use to maximally reduce the executable's size? HelloWorld amounts to a
 > whopping 4 Mb. With gcc, I get away with 50 Kb. The only justification gcj
 > has for larger sizes, is the automatic linkage of a garbage collection
 > library.

Not at all; gcj links with libgcj, which is a (somewhat) complete Java
runtime.  There's more to it than garbage collection.

 > You're not going to tell me that the garbage collector weighs in at
 > 4 Mb?

That's right, we're not.

Andrew.



More information about the Java mailing list