commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Petrola <>
Subject javaflow null assignment bug
Date Tue, 03 Feb 2009 13:10:19 GMT
I've found a bug at javaflow (reported in 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:
For additional commands, e-mail:

View raw message