Skip to content

1.12 is a duplicate of 1.9 #210

Closed
Closed
@viktorklang

Description

@viktorklang

"1.9 Calling Publisher.subscribe MUST return normally except when the provided Subscriber is null in which case it MUST throw a java.lang.NullPointerException to the caller, for all other situations the only legal way to signal failure (or reject a Subscriber) is via the onError method."

"1.12 A Publisher MAY reject calls to its subscribe method if it is unable or unwilling to serve them [1]. If rejecting it MUST do this by calling onError on the Subscriber passed to Publisher.subscribe instead of calling onSubscribe."

We can, without impacting the semantics of the spec, remove rule 12 and rename 1.13 to 1.12.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions