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: Different results with eval and compileToFiles()


> BTW, has anyone found a good class decompiler that can decompile
> Kawa-generated .class files easily?  It seems that would make debugging a
> bit easier.

Well, Kawa does include a .class decompiler:  Just do:
        java gnu.bytecode.dump foo.class
The output is quite detailed.

An alternative is running jcf-dump, which is distributed with Gcj.
They both generate the same detailed output format (not surprising,
as I wrote both).  Jcf-dump has the advantage that it can also
read .zip archives, and it is faster.  (It starts up faster, at
least, which is important.)

If you send me the output, I can probably point you in the correct
direction.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/

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