> It is very difficult to say from a code snippet. For example:
>
[quoted text clipped - 5 lines]
>
> are different. Can you produce a complete, self-contained example?
Yes, I understand the difference of that above. I'll see if I can get
something small to work over the next week and post something at that
time. The complete statement was:
int[] outPixel = new int[]{0, 0, 0};
and
int outPixel[] = new int[]{0, 0, 0};
This was followed by a looping construct that works fine for the first
line, but seems to use a newly initialized array for each iteration when
the second declaration is used.
The scoping is all wrong.
- --
Kenneth P. Turvey <kt-usenet@squeakydolphin.com>
XMPP IM: kpturvey@jabber.org
Yahoo IM: kpturvey2
Mike Schilling - 09 Apr 2006 18:51 GMT
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
[quoted text clipped - 24 lines]
>
> The scoping is all wrong.
If that's really the only difference, you might try disassembling the
resulting code with javap -c and seeing if that gives you any clues.