Hi Takashi,

Takashi Okamoto <[EMAIL PROTECTED]> writes:

> From: Arnaud Vandyck <[EMAIL PROTECTED]>
> Subject: kaffe/jikes makes incompatible code for jdk1.3? (was: [Detelin 
> Batchovski] Bug#262897: libservlet2.3-java_4.0-4: Failed start Tomcat4 after 
> upgrade)
> Date: Wed, 04 Aug 2004 23:48:33 +0200
>> I built javax.servlet with kaffe/jikes/ant1.6, but when running with
>> jre1.3, it seems there is a problem... log is attached.
>
> I got same problem for libcommons-logging-java. Now I checked jikes code:
>
> bytecode.cpp
>
>     6227     case JikesOption::SDK1_3:
>     6228         major_version = 47;
>     6229         minor_version = 0;
>     6230         break;
>     6231     case JikesOption::SDK1_4:
>     6232     case JikesOption::SDK1_4_2:
>     6233         major_version = 48;
>     6234         minor_version = 0;
>
> $ jikes -help
> ..
> -source release     interpret source by Java SDK release rules
>                       [default to max(target, 1.4)]
> ..
>
> We may avoid the problem to use this option. I don't test yet but ant
> seems support this option too.

As suggested by Dalibor Topic, I've just uploaded a release with the
'target' argument of the 'javac' Ant-task set to 1.3

Regards,

-- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-    

Attachment: pgpWfMFhIrrEM.pgp
Description: PGP signature

Reply via email to