Fix integer overflow in computeSerializedSizeInWords

This commit is contained in:
Martin Dindoffer 2022-05-04 18:40:12 +02:00 committed by Semisol
parent 28567eda73
commit 169755b94d
Signed by: Semisol
GPG key ID: 0949D3C25C7FD14F

View file

@ -28,12 +28,10 @@ import java.nio.channels.AsynchronousSocketChannel;
import java.nio.channels.CompletionHandler;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import java.nio.ByteBuffer;
import java.util.Arrays;
import static org.hamcrest.CoreMatchers.is;