You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Antonio Gallardo <ag...@agssa.net> on 2004/09/19 20:07:48 UTC
2.1.6-dev error using java 1.3.1 (i18n and Locale)
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