sync reactor-core
@ -131,7 +131,7 @@ public class UndertowHttpHandlerAdapter implements io.undertow.server.HttpHandle
@Override
public void subscribe(Subscriber<? super DataBuffer> subscriber) {
if (subscriber == null) {
throw Exceptions.spec_2_13_exception();
throw Exceptions.argumentIsNullException();
}
if (this.subscriber != null) {
subscriber.onError(new IllegalStateException("Only one subscriber allowed"));
@ -27,6 +27,7 @@ import org.junit.runners.Parameterized;
import reactor.core.publisher.Mono;
import reactor.core.publisher.ProcessorGroup;
import reactor.core.publisher.Processors;
import reactor.core.timer.Timer;
import reactor.rx.Stream;
import org.springframework.core.io.buffer.DataBufferAllocator;