How to overcome MissingResourceException (gnu.java.locale.Calendar)

João Garcia jgarcia@uk2.net
Fri Jun 11 12:21:00 GMT 2004


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





More information about the Java mailing list