This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: GCJ for eCos
Jeff Sturm writes:
> On Fri, 6 Jun 2003, [iso-8859-1] Øyvind Harboe wrote:
> > However, if I change my GCJ ARM java app to:
> >
> > public Hello
> > {
> > static publlic void main(String[])
> > {
> > }
> > }
> >
> > It is still >1MB w/arm-elf.
>
> Look at libgcj startup. The first thing it does with a Java object is
> create a NullPointerException.
Ah, that's a bug I've been maning to fix but never got around to. We
should create NullPointerException objects lazily.
Andrew.