invoke and mangling?

Per Bothner per@bothner.com
Thu May 1 06:33:00 GMT 2003


Chris Dean wrote:
> Should invoke reversible mangle names when compiling a file?  For
> example this gives a warning but at runtime runs the method "longValue":
> 
>   (let ((var :: <java.lang.Long> (make <java.lang.Long> 1)))
>     (invoke var 'long-value)))

I fixed this.  It now uses "manglenameIfNeeded", which uses the
(mostly-) reversible mapping, and so this gives a run-time exception.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/




More information about the Kawa mailing list