cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <agalla...@agssa.net>
Subject 2.1.6-dev error using java 1.3.1 (i18n and Locale)
Date Sun, 19 Sep 2004 18:07:48 GMT
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

Mime
View raw message