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

gnu.java.locale


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 :)


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