Fixes issue #2139; web mode was throwing an ArrayStoreException trying to store a JavaScriptObject into Object[].

Reviewer's comments:
- I wish there was a less tricky way, something with an overt check for Object instead of relying on 0 being special, but having something that works is a big improvement on the current state.  Anything should be storable into an Object, even a native JSO that has no typeId!

Found by: sanjiv.jivan
Review by: spoon (postmortem)


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1961 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed