Skip to content

Commit 4d84cf5

Browse files
akarnokdBrianZ1
authored andcommitted
2.x: Workaround for Objects.requireNonNull inserted by javac (ReactiveX#5966)
1 parent 6c43a7f commit 4d84cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/io/reactivex/processors/UnicastProcessorTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ public void alreadyCancelled() {
430430
public void unicastSubscriptionBadRequest() {
431431
UnicastProcessor<Integer> us = UnicastProcessor.create(false);
432432

433-
UnicastProcessor<Integer>.UnicastQueueSubscription usc = us.new UnicastQueueSubscription();
433+
UnicastProcessor<Integer>.UnicastQueueSubscription usc = (UnicastProcessor<Integer>.UnicastQueueSubscription)us.wip;
434434

435435
List<Throwable> errors = TestHelper.trackPluginErrors();
436436
try {

0 commit comments

Comments
 (0)