You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2004/04/19 17:21:27 UTC
CalendarGenerator does not compile under JDK 1.3.1
cocoon-2.1/src/java/org/apache/cocoon/generation/
CalendarGenerator.java:152:
cannot resolve symbol
symbol : constructor Locale (java.lang.String)
location: class java.util.Locale
locale = new Locale(langString);
It looks like the Locale(String language) constructor is not supported
under 1.3.1.
Does someone want to look at this now? Otherwise I'll enter it into
bugzilla.
-Bertrand
Re: CalendarGenerator does not compile under JDK 1.3.1
Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
Le 19 avr. 04, à 17:59, Ugo Cei a écrit :
> Bertrand Delacretaz wrote:
>> cocoon-2.1/src/java/org/apache/cocoon/generation/
>> CalendarGenerator.java:152:
>> cannot resolve symbol
>> symbol : constructor Locale (java.lang.String)
>> location: class java.util.Locale
>> locale = new Locale(langString);
>> It looks like the Locale(String language) constructor is not
>> supported under 1.3.1.
>> Does someone want to look at this now? Otherwise I'll enter it into
>> bugzilla.
>> -Bertrand
>
> I just committed a fix. Can you tell me if there are other problems,
> as I don't have a JDK 1.3 here, please?
>
> Ugo
>
>
>
--
Bertrand Delacretaz
independent consultant, Lausanne, Switzerland
http://www.codeconsult.ch
Re: CalendarGenerator does not compile under JDK 1.3.1
Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
Le 19 avr. 04, à 21:37, Ugo Cei a écrit :
> ...Hey, that's not my fault. CalendarGenerator's was ;-).
>
> It's fixed now, please cross-check.
Sorry, I should have done the change myself, it was...not so complex ;-)
I just did a complete build under 1.3.1, successfully, thanks.
Note that I'm not particularly interested in running under 1.3.1, just
had it switched on by chance (after testing another 1.3.1 app) when I
saw the CalendarGenerator problem.
-Bertrand
Re: CalendarGenerator does not compile under JDK 1.3.1
Posted by Ugo Cei <ug...@apache.org>.
Il giorno 19/apr/04, alle 21:19, Bertrand Delacretaz ha scritto:
> There is the same problem (Locale constructor) in
> src/blocks/repository/java/org/apache/cocoon/generation/
> TraversableGenerator.java
Hey, that's not my fault. CalendarGenerator's was ;-).
It's fixed now, please cross-check.
Ugo
Re: CalendarGenerator does not compile under JDK 1.3.1
Posted by Bertrand Delacretaz <bd...@codeconsult.ch>.
(sorry, hit send by mistake on previous message)
Le 19 avr. 04, à 17:59, Ugo Cei a écrit :
> ...I just committed a fix. Can you tell me if there are other
> problems, as I don't have a JDK 1.3 here, please?
CalendarGenerator now compiles, thanks!
There is the same problem (Locale constructor) in
src/blocks/repository/java/org/apache/cocoon/generation/
TraversableGenerator.java
I won't have time to investigate more now.
-Bertrand
Re: CalendarGenerator does not compile under JDK 1.3.1
Posted by Ugo Cei <u....@cbim.it>.
Bertrand Delacretaz wrote:
> cocoon-2.1/src/java/org/apache/cocoon/generation/
> CalendarGenerator.java:152:
> cannot resolve symbol
> symbol : constructor Locale (java.lang.String)
> location: class java.util.Locale
> locale = new Locale(langString);
>
>
> It looks like the Locale(String language) constructor is not supported
> under 1.3.1.
>
> Does someone want to look at this now? Otherwise I'll enter it into
> bugzilla.
>
> -Bertrand
I just committed a fix. Can you tell me if there are other problems, as
I don't have a JDK 1.3 here, please?
Ugo