mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-03 05:19:07 +00:00
Test RxReactiveStreams presence in ReactiveAdapterRegistry
Issue: SPR-17000
This commit is contained in:
@@ -74,7 +74,8 @@ public class ReactiveAdapterRegistry {
|
||||
this.reactorPresent = reactorRegistered;
|
||||
|
||||
// RxJava1
|
||||
if (ClassUtils.isPresent("rx.Observable", classLoader)) {
|
||||
if (ClassUtils.isPresent("rx.Observable", classLoader) &&
|
||||
ClassUtils.isPresent("rx.RxReactiveStreams", classLoader)) {
|
||||
new RxJava1Registrar().registerAdapters(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user