> I have a small question about the Value interfaces: what is the mirror
> for "null" ?
> For example, I have in the target:
> String [] myArray() = null;
>
> I have myLocalVariable which mirrors 'myArray'. so
> myLocalVariable.type() return an ArrayType.
> What about StackFrame.getValue(myLocalVariable) ? Does it return a
> VoidValue ? An ArrayReference ?
This is an excellent question ie. this isn't documented.
A major hole in the spec.
The mirror of null is null.
> for "null" ?
> For example, I have in the target:
> String [] myArray() = null;
>
> I have myLocalVariable which mirrors 'myArray'. so
> myLocalVariable.type() return an ArrayType.
> What about StackFrame.getValue(myLocalVariable) ? Does it return a
> VoidValue ? An ArrayReference ?
This is an excellent question ie. this isn't documented.
A major hole in the spec.
The mirror of null is null.