don't have time to reproduce it properly (sorry about that Bruce / GWT
team) today.

I create a class field of a two dimensional array of a simple type

(in English)

int [][]var

when I initialise it statically

int [][] matrix = new int[NUM_X][NUM_Y]

it seems to work fine, but

when I leave out the initialisation until later, say

...
myWidget.go(124);
...

public void go(int num){
   matrix = new int[num][num]
}

then I get strange null pointers when indexing the matrix...

which would make sense if I used "big" Integer[][] arrays ... but
simple types should be fine .....

can someone with GWT sources at hand check this out?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to