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]

RE: gnu.java.locale


>>>> I like that you're doing this, since it means it will be harder for us
>>>> to introduce bugs here.  But isn't adding references like this just
>>>> part of the price of static linking?

Maybe you're right. I've got to do the same thing anyway, when using a jdbc
driver for example:

	private static Class x=com.mysql.jdbc.Driver.class;
	...
	Class.forName("com.mysql.jdbc.Driver");

Otherwise they don't work either. I guess I will have to resort to creating
a StaticLinking.java class in my projects, in which I regroup all hard
references.

I just don't have a complete list of classes that could be affected. I know
from experience that java.util.Calendar and java.util.Date are affected. Do
you know what other libjava classes are affected as well?


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