This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Passing #!null as <java.lang.String>
brlewis@alum.mit.edu writes:
> Kawa is smart about coercing to java.lang.String -- calling the
> toString() method on the object. A one-line change in
> gnu/bytecode/ObjectType.java just before line 61 to check if obj ==
> null will probably fix this problem.
That makes as behave differently depending on whether it is applied
or inline-compiled.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/