issue #2790: Fix of JSB project broken after using Vector<T>