Fixed vectors reserving wrong amount of space in Java.
authorWouter van Oortmerssen <wvo@google.com>
Wed, 9 Jul 2014 00:14:02 +0000 (17:14 -0700)
committerWouter van Oortmerssen <wvo@google.com>
Wed, 9 Jul 2014 18:43:30 +0000 (11:43 -0700)
commitb3ee52c0a7f32a642787b9373cef6e7467880dc1
treee383efc35908bc9d8045fc9a7cd5d88598343938
parent7fcbe723fc821785abfec0348023d9ebf5b4db96
Fixed vectors reserving wrong amount of space in Java.

In the generated code, the type of the vector was used for
the element size, instead of the vector element type.

Change-Id: Ie16d5221a61474365292c948fd3af99e2a7716c7
Tested: on Windows.
src/idl_gen_java.cpp
tests/MyGame/Example/Monster.java