[kaffe] Re: kaffe/jikes makes incompatible code for jdk1.3?

Takashi Okamoto tora at gloria.or.tp
Wed Aug 4 16:03:36 PDT 2004


From: Arnaud Vandyck <arnaud.vandyck at ulg.ac.be>
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.

regards,

Takashi Okamoto



More information about the kaffe mailing list