Update runtime to work with the OpenJdk String.

The key difference here is that the OpenJdk String class
does not maintain an offset or a count field into its backing
char[] array. The offset is assumed to be zero, and the count
is always array.length.

Change-Id: I8b0518642f440cd38d24d9b90c575b7110233cc5
7 files changed