Hi:

While testing for java 1.3.1, I got this error:

compile-core:
...
/home/agallardo/svn/cocoon-2.1/src/java/org/apache/cocoon/i18n/I18nUtils.java:190:
cannot resolve symbol
symbol  : constructor Locale  (java.lang.String)
location: class java.util.Locale
            locale = new Locale("");
                     ^
/home/agallardo/svn/cocoon-2.1/src/java/org/apache/cocoon/matching/LocaleMatcher.java:292:
cannot resolve symbol
symbol  : constructor Locale  (java.lang.String)
location: class java.util.Locale
        testLocale = new Locale(locale.getLanguage());
                     ^
2 errors


Both used constructors does not exists in 1.3: -
http://java.sun.com/j2se/1.3/docs/api/java/util/Locale.html#Locale(java.lang.String,%20java.lang.String,%20java.lang.String)

Best Regards,

Antonio Gallardo

Reply via email to