Re: convert CharArray to ByteArray

markspace wrote:
Mike Schilling wrote:

Why? Even if it could, somehow, be thrown, what harm would result?

Well you can't catch a RuntimeException with out having to catch ALL
runtime exceptions and then try to sort out which one it actually

You'd never write code to catch this one.

Sure it never "should" happen but weird things happen in test
environments, and sometimes there are funky customer environments

I supose you'd have to ask them to upgrade to a non-broken JVM.