if (recipient == null) {
throw new IllegalArgumentException("processName is null");
}
final StringBuilder b = new StringBuilder();
b.append(Command.SEND_BYTES).append('\0');
<BUG>b.append(recipient).append('\0');
StreamUtils.writeString(output, b.toString());</BUG>
StreamUtils.writeInt(output, message.length);
output.write(message, 0, message.length);
StreamUtils.writeLong(output, checksum);

if (recipient == null) {
throw new IllegalArgumentException("processName is null");
}
final StringBuilder b = new StringBuilder();
b.append(Command.SEND_BYTES).append('\0');
b.append(recipient).append('\0');
synchronized (output) {
StreamUtils.writeString(output, b.toString());
StreamUtils.writeInt(output, message.length);
output.write(message, 0, message.length);
StreamUtils.writeLong(output, checksum);
