GH-3470: Resolve JDK8 Runtime Problem
Resolves https://github.com/spring-projects/spring-integration/issues/3470 Also fix `ByteBuffer.clear()`.
This commit is contained in:
@@ -458,7 +458,7 @@ public class TcpNioConnection extends TcpConnectionSupport {
|
||||
logger.trace(getConnectionId() + " Sending " + rawBufferToSend.limit() + " to pipe");
|
||||
}
|
||||
this.channelInputStream.write(rawBufferToSend);
|
||||
rawBufferToSend.clear();
|
||||
((Buffer) rawBufferToSend).clear();
|
||||
}
|
||||
|
||||
private void checkForAssembler() {
|
||||
|
||||
Reference in New Issue
Block a user