[kaffe] The trouble with Klasses.jar

Mikael Pahmp mikael.pahmp at axis.com
Tue May 28 01:41:29 PDT 2002

A would like to explore the possibility to build different Klasses.jar that
are compatible with the J2ME CDC (Connected Device Configuration),
Foundation Profile and perhaps Personal Profile. They are essentially
subsets of JDK1.3 with some new klasses added (javax.microedition). This
would require some changes in the java class implementations to resolve
dependencies between the core classes and e.g. AWT, but it's not much and
I've done it.

It would not require any changes to the JVM itself as CDC requires a
full-blown JVM. It could however have effects on some tests and some tools
if they use things outside the CDC spec.

So I agree that Klasses.jar should be built as part of the build process. It
think CDC/Profile should be a configure option with the current full
Klasses.jar as default.

Anyone else interested in this?


> -----Original Message-----
> From: Dalibor Topic [mailto:robilad at yahoo.com]
> Sent: Tuesday, May 28, 2002 09:41
> To: kaffe at kaffe.org
> Subject: [kaffe] The trouble with Klasses.jar
> A regular source of bug reports seems to be the state
> of Klasses.jar: it is usually a few patches behind the
> source code. You are probably wondering why
> Klasses.jar is not updated more regularly.
> a) it is a generated file. You can "make Klasses" it
> yourself.
> b) it is large. Every update of Klasses.jar eats away
> ~1 MB on the CVS server.
> c) it is large. Every update of Klasses.jar makes
> people cvs updating transfer 1 MB of stuff that will
> be out of sync with the source soon anyway.
> d) it does not stay current for long. Currently there
> is at least one patch for java libraries every week.
> Unless there are platforms where making the
> Klasses.jar file is impossible for some reason, I'd
> like to propose the following scheme of things:
> a) "make Klasses" should become a mandatory part of
> the make process. Preferably using the supplied kjc
> compiler, since surving the Klasses.jar compilation
> using kjc means that your kaffe installation actually
> works for something non-trivial. Since kjc can take a
> while on older systems, kjc should be run in verbose
> mode when compiling Klasses.jar ;) Automatically using
> kjc also takes care of people using a broken version
> of jikes to compile kaffe.
> b) Reduce Klasses.jar in the CVS to a subset required
> to run kjc.
> c) Offer up-to-date Klasses.jar as separate download
> on kaffe.org, in different versions: "standard,
> optimized for speed, optimized for size"
> what do you think?
> best regards,
> dalibor topic
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

More information about the kaffe mailing list