Skip to content

Commit

Permalink
GH-3470: Resolve JDK8 Runtime Problem
Browse files Browse the repository at this point in the history
Resolves #3470

Also fix `ByteBuffer.clear()`.
  • Loading branch information
garyrussell committed Jan 22, 2021
1 parent 6ff5eac commit f5b671c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ protected void sendToPipe(ByteBuffer rawBufferToSend) throws IOException {
logger.trace(getConnectionId() + " Sending " + rawBufferToSend.limit() + " to pipe");
}
this.channelInputStream.write(rawBufferToSend);
rawBufferToSend.clear();
((Buffer) rawBufferToSend).clear();
}

private void checkForAssembler() {
Expand Down

0 comments on commit f5b671c

Please sign in to comment.