private void saveVersionInfo() throws IOException {
    var out = new ByteArrayOutputStream();
    myVersionInfo.resetOffsets(0);
    myVersionInfo.write(new DataOutputStream(out));
    getVersionInfoResource().setBytes(out.toByteArray());
  }
private void saveVersionInfo()