Fixed utf serialization for substrings. On jdk6 substrings share the same value array with originial string. Accessing internal array directly using unsafe or reflection causes wrong data to be written.
Merge pull request #3665 from mdogan/fix/3.4/utf-writer

Fixed utf serialization for substrings. On jdk6 substrings share the sam...