[kaffe] The trouble with Klasses.jar
mikael.pahmp at axis.com
Wed May 29 06:47:28 PDT 2002
> -----Original Message-----
> From: Dalibor Topic [mailto:robilad at yahoo.com]
> --- Mikael Pahmp <mikael.pahmp at axis.com> wrote:
> > 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.
> That sounds good. Could you tell us more about what
> you had to do and how you went about it?
It was pretty easy.
I removed the following packages (and any sub-packages) from
The only unresolved dependencies in the remaining classes was to
java.awt.Image and java.awt.Toolkit from the following files:
I just removed the dependent code in these files but it would probably not
be difficult to remove the dependencies in a better way.
Since CDC and its profiles are based on JDK1.3, there is probably classes in
Kaffe that's missing or needs updating. I haven't looked into exactly which
those classes are. These are the packages required by CDC with the
More information about the kaffe