gnu.java.locale
Erik Poupaert
erik.poupaert@chello.be
Mon Feb 10 21:28:00 GMT 2003
By the way, every time a source tree uses java.util.Date or
java.util.Calendar, I have to create a hard reference to these classes, to
force the runtime to load them:
private static Class x1=gnu.java.locale.Calendar.class;
private static Class x2=gnu.java.locale.LocaleInformation.class;
These classes seems to be loaded dynamically through reflection, as I've
noticed in the libjava sources.
Is it possible to add these hard references in libjava itself? That would
enable many more source trees to compile natively, without patching.
I know the problem only occurs when you build executables statically.
Building executables statically is the default on minGW. And what's more, I
enjoy building executables statically. I don't want to build them
differently. It is my hobby :)
More information about the Java
mailing list