You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2004/10/03 16:33:41 UTC

Patch to restore JDK1.3 compile in 2.1 trunk

The Locale( String ) constructor was introduced in JDK1.4.


Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+

Re: Patch to restore JDK1.3 compile in 2.1 trunk

Posted by Niclas Hedhman <ni...@hedhman.org>.
On Sunday 03 October 2004 23:30, Vadim Gritsenko wrote:
> Niclas Hedhman wrote:
> >          // Test "language" locale (or empty - if language is "")
> > -        testLocale = new Locale(locale.getLanguage());
> > +        testLocale = new Locale(locale.getLanguage(),
> > locale.getCountry());
>
> Applied - but this part was not correct.

Not sure why, but I trust your judgement.

Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+


Re: Patch to restore JDK1.3 compile in 2.1 trunk

Posted by Vadim Gritsenko <va...@reverycodes.com>.
Niclas Hedhman wrote:
>          // Test "language" locale (or empty - if language is "")
> -        testLocale = new Locale(locale.getLanguage());
> +        testLocale = new Locale(locale.getLanguage(), locale.getCountry());

Applied - but this part was not correct.

Thanks,
Vadim