[kaffe] Kaffe CVS: kaffe jim

Patrick Tullmann tullmann at cs.utah.edu
Mon May 13 21:31:36 PDT 2002

Jim wrote:
> Does anybody know if the class format actually changed?  Or if there
> are any changes in behaviour that depends on the version number?

There are changes for JDK1.4 listed here:

There is nothing explicitly mentioned about the class file version

The only potentially interesting change for Kaffe (other than a couple
static final int "constants" that have changed!) may be #9 where it
says that classes compiled against interfaces no longer have default
versions of those methods inserted.  (I'm not sure if Kaffe depended
on this behavior or not.  I don't think it did.)

Assuming that list of changes is exhaustive, I don't think there are
any major problems with allowing code from recent javacs.  (Perhaps a
warning, though, as some of the problems with changed static finals
could be really subtle and ugly.)

I assume the class file version number is controlled by the javac
'-target' options.  Look at the "Cross-compilation" section of Sun's
javac doc:


----- ----- ---- ---  ---  --   -    -      -         -               -
Pat Tullmann                                       tullmann at cs.utah.edu
      That which does not kill you just didn't try hard enough.

More information about the kaffe mailing list