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: How to overcome MissingResourceException (gnu.java.locale.Calendar)


João Garcia wrote:

public class TestClass {




private static Class _c = System.getProperty(


"java.vendor","").equals("Free Software Foundation, Inc.") ? gnu.java.locale.Calendar.class : null;


It seems that we can replace the previous line simply by:

private static Class _c = false ? gnu.java.locale.Calendar.class : null;

And it will still do the trick for gcj. But I do not know if this one shall stand true for the upcoming versions of gcj...

Am I missing something or making any mistake here?

Regards,
Joao




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