8136500: Integer/Long getChars and stringSize should be more idiomaticReviewed-by: igerasim, sherman, psandoz, jrose