Merge "fix a corruption in Vector<> when adding new items" into jb-dev