This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Differences between Unix and Windows Kawa?
- To: Jocelyn Paine <popx at pop3 dot ifs dot org dot uk>
- Subject: Re: Differences between Unix and Windows Kawa?
- From: Per Bothner <per at bothner dot com>
- Date: Mon, 27 Aug 2001 22:20:48 -0700
- CC: kawa at sourceware dot cygnus dot com
- References: <Pine.LNX.4.10.10108272204080.4710-100000@pop3.ifs.org.uk>
Jocelyn Paine wrote:
>I just tried remaking Kawa 1.6.94 on my Unix machine (with Per's ModuleExp
>patch), and then copied the jar files to the machine I use for Windows,
>this being easier than redoing the remake under Windows. Except that it
>didn't work. Running kawa.repl -w from the newly-made files failed under
>Windows:
> java.lang.VerifyError: Class gnu/expr/ErrorExp overrides final method
> print.(Ljava/io/PrintWriter;)V
> at kawa.lang.Translator.<clinit>(Translator.java:52)
>
Well. my first guess is file corruption, perhaps because it was copied as a
text file (the default when using ftp) rather than a binary file.
You can use javap or 'java gnu.bytecode.dump' to dump the contents of a
class
file. Do that to look at the actual final flag. (You might need to use
the jar tool
to extract ErrorExp.class.)