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