JDK_Version::to_string uses a sequence of jio_snprintf calls to build the version string in the provided buffer. This can be simplified by using a stringStream over the buffer and stream printing operations.