(... and, for the record, I like code like this - announcing that jstring isn't going to change (as well as what the function insisted, that it not be used to change what it points at) makes it easier to read the code *and* gives the compiler a little nudge towards optimisations - smart compilers should be able to see them, but it never hurts to give the dumb ones a helping hand.)