Implement CStr REPR on JVM.