[kaffe] precompiling Klasses.jar

Jim Pick jim@kaffe.org
05 Jun 2002 09:58:02 -0700


Oops.  My fault.  I'll look at it once more...

Cheers,

 - Jim

On Wed, 2002-06-05 at 06:37, Alexander Popov wrote:
> 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
> ----
> 

> --- 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;
>  }