commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@apache.org>
Subject Re: javaflow null assignment bug
Date Tue, 10 Feb 2009 10:20:31 GMT
That's probably rather a question to ask on the ASM list :)
Thanks for looking into this.

cheers
--
Torsten

On Tue, Feb 3, 2009 at 14:10, Fernando Petrola
<fernando.petrola@gmail.com> wrote:
> I've found a bug at javaflow (reported in
> http://issues.apache.org/jira/browse/SANDBOX-277) related to assign
> null  to local variable.
> Debugging ContinuationMethodAdapter class I've seen that there are
> many lines like this:
>
>    mv.visitTypeInsn(CHECKCAST, value.getType().getInternalName());
>
> Those lines are trying to cast the value popped from stack to the
> internal value name, but in case of null values there is no type at
> least extracted from value.getType(). Is there a way to know the type
> of certain local variable at that point?
>
> regards, Fernando Petrola
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message