I can make your gcj-compiled binaries much smaller.
Andrew Haley
aph@redhat.com
Fri Jan 17 14:19:00 GMT 2003
Brian Jones writes:
> Andrew Haley <aph@redhat.com> writes:
>
> > Static references are a preferred method, if only on efficiency
> > grounds.
> >
> > static {
> > try {
> > resourceBundleClass = Class.forName("java.util.ResourceBundle");
> >
> > is harder to understand than a simple
> >
> > ResourceBundle.class
> >
> > and I don't understand why you want to do make such a change.
>
> The change should be temporary, just to workaround a problem currently
> found in the IBM Jikes Research VM.
Right, I see. That's the thing I'm looking at with static linkage in
gcj: a simple change like this one can break programs in unexpected
ways.
Andrew.
More information about the Java
mailing list