This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Differences between Unix and Windows Kawa?


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.)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]