[slime-devel] Kawa Support

Volkan YAZICI yazicivo at ttmail.com
Sun Oct 12 08:12:20 UTC 2008


On Sat, 11 Oct 2008, Helmut Eller <heller at common-lisp.net> writes:
> I don't think that swank-kawa.scm runs in 1.9.1. You need the SVN
> version of Kawa. In 1.9.1 "1st" was parsed differently.

When I saw 2007 date at the beginning of the swank-kawa.scm, I thought
that the latest SVN tip dependency should have been deprecated. But it
seems to be not.

This can be a trivial problem, but I still couldn't manage to compile
swank-kawa.scm using kawa:

  rlwrap java \
      -classpath /home/vy/usr/share/java/kawa.jar:/usr/local/java/jdk/1.6.0_06/lib/sa-jdi.jar \
      -Xdebug \
      kawa.repl
  #|kawa:1|# (compile-file "/home/vy/elisp/slime/contrib/swank-kawa.scm" "swank-kawa")
  java.lang.RuntimeException: no such class: com.sun.jdi.Location
          at gnu.bytecode.ObjectType.getReflectClass(ObjectType.java:125)
          at gnu.bytecode.ClassType.addFields(ClassType.java:581)
          at gnu.bytecode.ClassType.getFields(ClassType.java:485)
          at gnu.bytecode.ClassType.getDeclaredField(ClassType.java:499)
          at gnu.bytecode.ClassType.getField(ClassType.java:518)
          at gnu.kawa.reflect.SlotGet.lookupMember(SlotGet.java:209)
          at kawa.lang.Translator.rewrite(Translator.java:641)
          ...

Suprisingly google returned nothing for quoted "no such class:
com.sun.jdi.Location". What might I be missing in the above "Sun JVM
with debugger support"?

> You also need the newest CVS version of SLIME, because there were some
> changes/bugs which are only fixed in the version of today.

Yep, did a "cvs up -C -d -P -r HEAD".


Regards.




More information about the slime-devel mailing list