[kaffe] precompiling Klasses.jar

Alexander Popov s_popov@prosyst.bg
Wed, 05 Jun 2002 14:37:26 +0100


This is a multi-part message in MIME format.
--------------040205040304040400080303
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Sorry Dalibor, my mistake...

KAFFE_VERSION in java/lang/Cloneable.java is really the reason and 
should be changed as follows:

int KAFFE_VERSION = 1 * 10000 + 1 * 100 + 0;

should be replaced with:

int KAFFE_VERSION = 1 * 100 + 6 * 1 + 0;

I'm attaching a patch for that ( should be applied in 
<KAFFE_SRC>/libraries/javalib )...

Regards

Dalibor Topic wrote:
> Hi alexander,
> 
> --- Alexander Popov <s_popov@prosyst.bg> wrote:
> 
>>Hi
>>
>>When I try to recompile the java sources I get the
>>following error:
>>
>>[/software/jdk/KAFFE/CVS-current/libraries/javalib]#
>>make Klasses
>>/bin/sh ./rebuildLib
>>Compiling classes ...
>>Classpath: -classpath 
>>
> 
> /software/jdk/KAFFE/CVS-current/libraries/javalib/lib:/darcy/software/jdk/KAFFE/CVS-current/libraries/javalib/kjc.jar
> 
>>javac:
>>
> 
> /software/jdk/KAFFE/CVS-current/kaffe/kaffe/kaffe-bin
> 
>>-ms32M 
>>-mx1024M at.dms.kjc.Main
>>
>>Could not initialize Kaffe.
>>Your rt.jar version is 101.00, but this VM was
>>compiled with version 1.06
>>
>>The current effective classpath is 
>>
> 
> `.:/software/jdk/KAFFE/CVS-current/libraries/javalib/Klasses.jar:/software/jdk/KAFFE/CVS-current/libraries/javalib/kjc.jar'
> 
>>make: *** [lib/stamp] Error 255
>>
>>This is the CVS from 05.06.2002 (today)...
>>Am I doing something wrong...
> 
> 
> Could you check if my fix from
> http://www.kaffe.org/pipermail/kaffe/2000-August/006784.html
> applies ?
> 
> dalibor topic
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> 
> _______________________________________________
> kaffe mailing list
> kaffe@kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> 
> 


-- 
Alexander Popov
Team Leader RTOS&JVM
ProSyst Bulgaria
s_popov@prosyst.bg
s_popov@prosyst.com
mobile: +35987663193
icq: 29207350

--------------040205040304040400080303
Content-Type: text/plain;
 name="patch.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch.diff"

--- java/lang/Cloneable.java	Wed Jun  5 14:23:49 2002
+++ java/lang/Cloneable.java	Wed Jun  5 14:24:01 2002
@@ -20,3 +20,3 @@
 	 */
-        int KAFFE_VERSION = 1 * 10000 + 1 * 100 + 0;
+        int KAFFE_VERSION = 1 * 100 + 6 * 1 + 0;
 }

--------------040205040304040400080303--