make getChars and releaseChars static, to prevent them being confused with implementations in other objects if they're not inlined (debug mode)