This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Patch: new special form #!native
- From: Per Bothner <per at bothner dot com>
- To: Jamison Hope <jrh at theptrgroup dot com>
- Cc: Kawa mailing list <kawa at sourceware dot org>
- Date: Thu, 29 Sep 2011 11:32:58 -0700
- Subject: Re: Patch: new special form #!native
- References: <340ACB63-D208-4954-9C74-DB5100194B95@theptrgroup.com>
This looks clean, but it causes a regression (tested using jdk7):
testsuite$ make check-knucleotide-2
CLASSPATH="/home/bothner/JWebPane/jfx/artifacts/sdk/rt/lib/jfxrt.jar:/home/bothner/Java/servlet.jar:.:$CLASSPATH"
\
../bin/kawa.sh --warn-undefined-variable --warn-invoke-unknown-method
--warn-as-error --main -T knucleotide2 -C ./knucleotide-2.scm
(compiling ./knucleotide-2.scm to knucleotide2)
./knucleotide-2.scm:13:1: missing implementation for
java.util.Map$Entry.hashCode()int
make: *** [knucleotide2.class] Error 255
I assume this is because of the changes to ClassExp#compileMembers -
probably the second change.
Somehow the (native) implement of java.lang.Object#hashCode is skipped.
Probably easy to fix.
--
--Per Bothner
per@bothner.com http://per.bothner.com/