Missing Code Attribute with module-export

Per Bothner per@bothner.com
Wed Apr 2 20:23:00 GMT 2003


Chris Dean wrote:
> Hmm, that changes the problem but doesn't quite fix it.  Now I get this
> error when trying to use the class Bar:
> 
>   Exception in thread "main" java.lang.VerifyError: (class: Bar, method:
>   myMethod signature: ()Lgnu/lists/PairWithPosition;) Falling off the
>   end of the code at Foo2.main(Foo2.java:15)

The attached fixes this problem.

However, there are still other problems that I'll look into
later, hopefully today.

>>However, we would also like a non-exported class to not be PUBLIC.
> 
> 
> I'd export the class if I knew how! ;-).  

The goal is that this should work:

(module-export f <Bar>)

-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: FindTailCalls.patch
URL: <http://sourceware.org/pipermail/kawa/attachments/20030402/e0b1d1b3/attachment.ksh>


More information about the Kawa mailing list