changed ByteCode writer dynamic array to vector and changed writeConstantpool method