mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 107787: Casting variable to array causes NPE.
This commit is contained in:
parent
09fcd6ef44
commit
fece65cbf3
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-08-23 Mikhail Khodjaiants
|
||||
Bug 107787: Casting variable to array causes NPE.
|
||||
* CIndexedValue.java
|
||||
|
||||
2005-08-04 Alain Magloire
|
||||
ClastCastException being throw in CThread.getAdapter(IRunToLine.class);
|
||||
Patch solution to ignore the exception.
|
||||
|
|
|
@ -250,7 +250,7 @@ public class CIndexedValue extends AbstractCValue implements IIndexedValue {
|
|||
requestFailed( e.getMessage(), null );
|
||||
}
|
||||
for( int i = 0; i < cdiVars.length; ++i )
|
||||
fVariables[i + index * prefSize] = CVariableFactory.createLocalVariable( getParentVariable(), cdiVars[i] );
|
||||
fVariables[i + index * prefSize] = CVariableFactory.createLocalVariable( this, cdiVars[i] );
|
||||
}
|
||||
|
||||
private int getSize0() {
|
||||
|
|
Loading…
Add table
Reference in a new issue