Closed akarnokd closed 4 years ago
The Javadoc of ToGraphable mandates PublisherBuilder, ProcessorBuilder, SubscriberBuilder and CompletionRunner instances implement it, yet the interfaces do not extend ToGraphable to ensure this.
ToGraphable
PublisherBuilder
ProcessorBuilder
SubscriberBuilder
CompletionRunner
Without it, the TCK fails with ClassCastExceptions.
Is this an oversight or deliberate?
From @cescoffier , It is deliberate as we want to hide the interface from the users.
The Javadoc of
ToGraphable
mandatesPublisherBuilder
,ProcessorBuilder
,SubscriberBuilder
andCompletionRunner
instances implement it, yet the interfaces do not extendToGraphable
to ensure this.Without it, the TCK fails with ClassCastExceptions.
Is this an oversight or deliberate?