Skip to content

Commit 19b3b21

Browse files
authored
Upgrade to head (#1)
* Repairs formatting issue of tables in spec README * Modifies rules 1.09 and 2.13 to mandate `java.lang.NullPointerException` be thrown. Updates the TCK, Spec and example implementations. * Fixes reactive-streams#211 by clarifying * Fixes reactive-streams#210 by removing 1.12 and repurposing its TCK checks for 1.09 * Clarifies the signalling sequence in the spec and adds TCK verification to ensure signal ordering is proper, also amends the examples to reflect the spec change. * Publish 1.0.0.RC2 fix reactive-streams#215 * Fixes reactive-streams#217 by including the examples project in the publish task * =tck minor test name fixup, it is a required test * fix reactive-streams#212 issue on spec 213 testing wrt Processor * RC3 release /w reactive-streams#222 fix * remove rule 1:12 (produce same elements to all Subscribers) This rule is in conflict with 1:11 which allows a Publisher to treat multiple Subscribers as either as unicast or multicast recipients. The verification of proper multicast behavior (which 1:12 specified) has been retained, the test methods renamed accordingly. * fix three left-over references to deleted rule 1:12 * Fixed wrong footnote reference in README.md * Addresses a couple of typos in the examples for AsyncSubscriber and SyncSubscriber * !TCK clarify what error publisher is + add better readme on what this method is + add better javadoc on this method - removes reference to old style spec annotation from readme + proposing to change method name to "createFailed..." as it is the wording used in the spec and reactive manifesto (footnote 1.1) + more info in tck/README that it is not legal to signal on* before sub Resolves reactive-streams#237, reactive-streams#235 * +tck reactive-streams#236 example subscriber whitebox tested, and whitebox fixed * add space to javadoc * +TCK verifyNoAsyncErrors now by default waits, fixes spec111 Resolves reactive-streams#239 * =tck general tck/readme.md cleanup so it matches current code / spec Resolves reactive-streams#99 Depends on reactive-streams#241 * Addresses PR review comments for reactive-streams#246 * Update CopyrightWaivers.txt * +tck explains createElement in more useful terms resolves reactive-streams#231 * +tck reactive-streams#232 explain which tests are mendatory to be "compliant" * Update SubscriberWhiteboxVerification.java Fixes Javadoc generation on Java8+ by having to manually qualify nested classes. * Fixes reactive-streams#233 by implementing support for triggered demand in in the SubscriberBlackboxVerification * Travis PR validation using both JDK 6 and 8 By validating on both JDKs we know the project even builds on 8, while not using features (classes) from JDK8 - so it's still usable for JDK6 projects. Resolves reactive-streams#254 * Small touchups to the TCK README.md * Release 1.0.0.RC4 * Cancel the subscription after receiving all of the pertinent emissions (reactive-streams#259). * Test that 'required_spec317_mustNotSignalOnErrorWhenPendingAboveLongMaxValue' completes in a timely manner for fully synchronous publishers (reactive-streams#259). * =tck untested spec308 rule method name adjusted * -tck rm undocumented and unused publisherReferenceGCTimeoutMillis method * update version to 1.0.0.RC5 * Updating documentation to reflect the current version: RC5 * update ref to 1.0.0.final * change 1.0.0.final to 1.0.0 and make sure OSGI manifest has the bundle version * OSGI fix * OSGI fix... * Disambiguate "processing elements" The document generally refers to "elements" as objects traversing a stream. I initially considered simply editing "processing elements" to read "processing components", but there's a section devoted to the definition of this, so better to link them. * Added per request of @viktorklang in reactive-streams#269 * add CC0 label to README * =tck reactive-streams#279 improve completion latch error message * Rename SyncSybscriber.foreach to whenNext * Update README.md Spelling of the company name is Red Hat, not RedHat. * I hereby represent [...] public domain [...] entirety of my contributions. Requested by @viktorklang. * Log test output events to the console * Remove "preview" qualifier from README. * Unbreaks TravisCI OpenJDK6 hostname too long crash * Second attempt at unbreaking the Travis build * Third attempt at fixing the Travis builds * +tck reactive-streams#308 allow configuring "no events during N time" separately * Update to Gradle 2.12 * Reintegrate dangling footnote in Publisher section. - integrate the footnote in rule 1.9 - sign the Copyright Statement * Asynchronous vs Synchronous Processing: reword "push-based stream" * =tck fixes minor misalignment between code and comment, found via .NET port Semantics remain exacly the same, the error we're testing here is about signaling one more element if request comes in again (which we'll do anyway, regardless of status of this flag) * adjust Subscription.cancel javadoc because cancel command does not have to be called asynchronously * Updating Typesafe to Lightbend * Fix a typo in org.reactivestreams.example.unicast.AsyncSubscriber * Add @seratch to CopyrightWaivers.txt * Fixes reactive-streams#333 by adding license headers to /examples/* * Adds a Glossary, Intent-sections and harmonizes verbiage * Clarifying that object equality is a.equals(b) in Intent for 2.12 * add license header to API directory * add license header to TCK * Fix missing cancel() from in tests that don't consume the entire source * Run with default TestEnvironment settings. * Update CopyrightWaivers.txt * =build reactive-streams#349 equal osgi manifest version as real version To have a tangible PR to talk about. Probably enough to resolve reactive-streams#349 Would be followed up with change to 1.0.1 eventually. * Add Javadoc explanation to the TCK test methods about what they do * Don't import org.reactivestreams.tck.TestEnvironment * Fix missing Javadoc tags * TCK: Request -1 in 309 instead of a random non-positive number * Remove the Random instance as well. * Keep the randomness. * Fixing typos in README.md * Minor rewording of 2.6 to make it easier to understand. (reactive-streams#342) * Minor rewording of 2.6 to make it easier to understand. * Fix spelling errors and clarify a couple of sentences * extra coordination * Remove vague statements, be more specific in others * Update javadoc based on ktoso's feedback * Use the wording eagery for error publisher test 104 * Address feedback, add links to the rules in the javadoc * SubscriberBlackboxVerificationRules explained * Non-BC for TCK: Corrects a typo in test method from *Compuatation to *Computation * Adding a glossary item for external synchronization * Repointing links to sources in README to current main release * =tck reactive-streams#362 signal onComplete in 201 blackbox verification * +tck reactive-streams#362 complete subscriber under test once done in 205 * +tck reactive-streams#362 wait for request signal in 209, and new additional tests * =tck check isCancelled in 205 blackbox; sample the state sometimes * =tck reactive-streams#362 blackbox 209 must issue onSubscribe before any other signal * Clarifies the meaning of "stochastic" for skipStochasticTests() * add additional test for optional_spec111. * now test verifies https://github.com/reactive-streams/reactive-streams-jvm#1.11 and https://github.com/reactive-streams/reactive-streams-jvm#1.5 for publishers, if they support multiple subscribers. * add delegate to IdentityProcessorVerification. * add tests for optional_spec111_registeredSubscribersMustReceiveOnNextOrOnCompleteSignals. * additional happy and the failure cases. * clear typos and change comments. * add new PublisherVerification for multi-subscribers tests. * removed onSubscribe constructor call. renamed Demand -> CancelableSubscription. * Change subscription remove logic. * add myself to CopyrightWaivers. * fix tests by using proxied subscriber, thanks Viktor for helping push this fix * Be consistent in reference style We use the `#.##` style in referring to rules everywhere, this one ref was using a different style - fixed that. * Switching to consistent use of apostrophe in spec * More apostrophe fixes * add patriknw to CopyrightWaivers * Version 1.0.1 * =spec reactive-streams#384 amend spec to allow not mentioning rule number in exception message * Update README.md * =tck reactive-streams#384 dont check for cause message when checking 3.9 * Updating versions to 1.0.1-RC2 and clarifying changes in RELEASE-NOTES.md * Fix links to "Terminal state" (reactive-streams#389) * Fix links to "Terminal state" * add angelsanz to CopyrightWaivers.txt * Preparing 1.0.1 (reactive-streams#390) * Bridge between Reactive-Streams and JDK 9 Flow API (reactive-streams#296) * Bridge between Reactive-Streams and JDK 9 Flow API * Apply changes based on ktoso's feedback * Use oraclejdk9, resolve build.gradle conflict * Change txt/code to use "Reactive Streams" as designator * NPE to use the updated parameter name. * Rename bridge class, tester class (+javadoc) * Java 9 Flow bridge: add Subscriber converters (reactive-streams#399) * Java 9 Flow bridge: add Subscriber converters * Fix return type javadoc * Example synchronous range Publisher (reactive-streams#395) * Example synchronous range Publisher * Udpated with rule numbers in comments * Mentioning rule 3.9 again in emit() * Move classes to the unicast package. * [WIP] TCK for j.u.c.Flow types "directly" (reactive-streams#398) * Add JDK9 TCK, using adapters * Fixing wrapping and unwrapping of the wrappers themselves. * Renames the converters to "toX" for RS and "toFlowX" for Flow. Fixes so that the dist url for gradle is http iso https (TravisCI bug?) Adds regression test for bridge converters. * fix formatting * cleanup
1 parent e521dbc commit 19b3b21

File tree

85 files changed

+6814
-858
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+6814
-858
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ test-results
2626
test-tmp
2727
*.class
2828
gradle.properties
29+
*.orig

Diff for: .java-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

Diff for: .travis.yml

+23-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,34 @@
11
language: java
2+
sudo: required
3+
dist: trusty
4+
#group: edge
5+
26
script:
37
- ./gradlew check
48
cache:
59
directories:
610
- $HOME/.gradle
7-
jdk:
8-
- openjdk6
11+
12+
before_install:
13+
- export GRADLE_OPTS=-Xmx1024m
14+
15+
matrix:
16+
include:
17+
- jdk: openjdk7
18+
- jdk: oraclejdk8 # JDK 1.8.0_131-b11
19+
- jdk: oraclejdk9
20+
21+
# Don't let Travis CI execute './gradlew assemble' by default
22+
# From https://github.com/reactive-streams/reactive-streams-jvm/pull/383
23+
install:
24+
# Display Gradle, JVM and other versions
25+
- ./gradlew -version
26+
927
env:
1028
global:
1129
- TERM=dumb
1230
- DEFAULT_TIMEOUT_MILLIS=300
31+
- DEFAULT_NO_SIGNALS_TIMEOUT_MILLIS=200
1332
- PUBLISHER_REFERENCE_GC_TIMEOUT_MILLIS=300
33+
addons: # Fix OpenJDK build. Issue: https://github.com/travis-ci/travis-ci/issues/5227 & https://docs.travis-ci.com/user/hostname
34+
hostname: rs-jvm

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The Reactive Streams project welcomes contributions from anybody who wants to pa
44

55
## Copyright Statement
66

7-
The aforementioned waiver of copyrights and other rights is represented by the addition of a line to the file [CopyrightWaivers.txt](https://github.com/reactive-streams/reactive-streams/blob/master/CopyrightWaivers.txt). For a pull request to be considered every contributor must have signed the copyright statement in this way; this may be included within that same pull request.
7+
The aforementioned waiver of copyrights and other rights is represented by the addition of a line to the file [CopyrightWaivers.txt](https://github.com/reactive-streams/reactive-streams-jvm/blob/master/CopyrightWaivers.txt). For a pull request to be considered every contributor must have signed the copyright statement in this way; this may be included within that same pull request.
88

99
## Gatekeepers
1010

Diff for: CopyrightWaivers.txt

+12-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ waiver with respect to the entirety of my contributions.
1212

1313
The text of the copyright statement is included in the COPYING file at the root
1414
of the reactive-streams repository at
15-
https://github.com/reactive-streams/reactive-streams/blob/master/COPYING.
15+
https://github.com/reactive-streams/reactive-streams-jvm/blob/master/COPYING.
1616

1717
Underwriting parties:
1818

@@ -28,3 +28,14 @@ ouertani | Slim Ouertani, [email protected]
2828
2m | Martynas Mickevičius, [email protected], Typesafe Inc.
2929
ldaley | Luke Daley, [email protected], Gradleware Inc.
3030
colinrgodsey | Colin Godsey, [email protected], MediaMath Inc.
31+
davidmoten | Dave Moten, [email protected]
32+
briantopping | Brian Topping, [email protected], Mauswerks LLC
33+
rstoyanchev | Rossen Stoyanchev, [email protected], Pivotal
34+
BjornHamels | Björn Hamels, [email protected]
35+
JakeWharton | Jake Wharton, [email protected]
36+
anthonyvdotbe | Anthony Vanelverdinghe, [email protected]
37+
seratch | Kazuhiro Sera, [email protected], SmartNews, Inc.
38+
akarnokd | David Karnok, [email protected]
39+
egetman | Evgeniy Getman, [email protected]
40+
patriknw | Patrik Nordwall, [email protected], Lightbend Inc
41+
angelsanz | Ángel Sanz, [email protected]

Diff for: README.md

+138-77
Large diffs are not rendered by default.

Diff for: RELEASE-NOTES.md

+176-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,178 @@
11
# Release notes for Reactive Streams
22

3-
Changes will be listed below after version 1.0.0 is released.
3+
---
4+
5+
# Version 1.0.1 released on 2017-08-09
6+
7+
## Announcement:
8+
9+
After more than two years since 1.0.0, we are proud to announce the immediate availability of `Reactive Streams version 1.0.1`.
10+
11+
Since 1.0.0 was released `Reactive Streams` has managed to achieve most, if not all, it set out to achieve. There are now numerous implementations, and it is scheduled to be included in [JDK9](http://download.java.net/java/jdk9/docs/api/java/util/concurrent/Flow.html).
12+
13+
Also, most importantly, there are no semantical incompatibilities included in this release.
14+
15+
When JDK9 ships, `Reactive Streams` will publish a compatibility/conversion library to seamlessly convert between the `java.util.concurrent.Flow` and the `org.reactivestreams` namespaces.
16+
17+
## Highlights:
18+
19+
- Specification
20+
+ A new [Glossary](https://github.com/reactive-streams/reactive-streams-jvm/blob/v1.0.1/README.md#glossary) section
21+
+ Description of the intent behind every single rule
22+
+ No breaking semantical changes
23+
+ Multiple rule [clarifications](#specification-clarifications)
24+
- Interfaces
25+
+ No changes
26+
+ Improved JavaDoc
27+
- Technology Compatibility Kit (TCK)
28+
+ Improved coverage
29+
+ Improved JavaDoc
30+
+ Multiple test [alterations](#tck-alterations)
31+
32+
## Specification clarifications
33+
34+
## Publisher Rule 1
35+
36+
**1.0.0:** The total number of onNext signals sent by a Publisher to a Subscriber MUST be less than or equal to the total number of elements requested by that Subscriber´s Subscription at all times.
37+
38+
**1.0.1:** The total number of onNext´s signalled by a Publisher to a Subscriber MUST be less than or equal to the total number of elements requested by that Subscriber´s Subscription at all times.
39+
40+
**Comment: Minor spelling update.**
41+
42+
## Publisher Rule 2
43+
44+
**1.0.0:** A Publisher MAY signal less onNext than requested and terminate the Subscription by calling onComplete or onError.
45+
46+
**1.0.1:** A Publisher MAY signal fewer onNext than requested and terminate the Subscription by calling onComplete or onError.
47+
48+
**Comment: Minor spelling update.**
49+
50+
## Publisher Rule 3
51+
52+
**1.0.0:** onSubscribe, onNext, onError and onComplete signaled to a Subscriber MUST be signaled sequentially (no concurrent notifications).
53+
54+
**1.0.1:** onSubscribe, onNext, onError and onComplete signaled to a Subscriber MUST be signaled in a thread-safe manner—and if performed by multiple threads—use external synchronization.
55+
56+
**Comment: Reworded the part about sequential signal and its implications, for clarity.**
57+
58+
## Subscriber Rule 6
59+
60+
**1.0.0:** A Subscriber MUST call Subscription.cancel() if it is no longer valid to the Publisher without the Publisher having signaled onError or onComplete.
61+
62+
**1.0.1:** A Subscriber MUST call Subscription.cancel() if the Subscription is no longer needed.
63+
64+
**Comment: Rule could be reworded since it now has an intent section describing desired effect.**
65+
66+
## Subscriber Rule 11
67+
68+
**1.0.0:** A Subscriber MUST make sure that all calls on its onXXX methods happen-before [1] the processing of the respective signals. I.e. the Subscriber must take care of properly publishing the signal to its processing logic.
69+
70+
**1.0.1:** A Subscriber MUST make sure that all calls on its signal methods happen-before the processing of the respective signals. I.e. the Subscriber must take care of properly publishing the signal to its processing logic.
71+
72+
**Comment: Rule slightly reworded to use the glossary for `signal` instead of the more *ad-hoc* name "onXXX methods". Footnote was reworked into the Intent-section of the rule.**
73+
74+
## Subscription Rule 1
75+
76+
**1.0.0:** Subscription.request and Subscription.cancel MUST only be called inside of its Subscriber context. A Subscription represents the unique relationship between a Subscriber and a Publisher [see 2.12].
77+
78+
**1.0.1:** Subscription.request and Subscription.cancel MUST only be called inside of its Subscriber context.
79+
80+
**Comment: Second part of rule moved into the Intent-section of the rule.**
81+
82+
## Subscription Rule 3
83+
84+
**1.0.0:** Subscription.request MUST place an upper bound on possible synchronous recursion between Publisher and Subscriber[1].
85+
86+
**1.0.1:** Subscription.request MUST place an upper bound on possible synchronous recursion between Publisher and Subscriber.
87+
88+
**Comment: Footnote reworked into the Intent-section of the rule.**
89+
90+
## Subscription Rule 4
91+
92+
**1.0.0:** Subscription.request SHOULD respect the responsivity of its caller by returning in a timely manner[2].
93+
94+
**1.0.1:** Subscription.request SHOULD respect the responsivity of its caller by returning in a timely manner.
95+
96+
**Comment: Footnote reworked into the Intent-section of the rule.**
97+
98+
## Subscription Rule 5
99+
100+
**1.0.0:** Subscription.cancel MUST respect the responsivity of its caller by returning in a timely manner[2], MUST be idempotent and MUST be thread-safe.
101+
102+
**1.0.1:** Subscription.cancel MUST respect the responsivity of its caller by returning in a timely manner, MUST be idempotent and MUST be thread-safe.
103+
104+
**Comment: Footnote reworked into the Intent-section of the rule.**
105+
106+
## Subscription Rule 9
107+
108+
**1.0.0:** While the Subscription is not cancelled, Subscription.request(long n) MUST signal onError with a java.lang.IllegalArgumentException if the argument is <= 0. The cause message MUST include a reference to this rule and/or quote the full rule.
109+
110+
**1.0.1:** While the Subscription is not cancelled, Subscription.request(long n) MUST signal onError with a java.lang.IllegalArgumentException if the argument is <= 0. The cause message SHOULD explain that non-positive request signals are illegal.
111+
112+
**Comment: The MUST requirement to include a reference to the rule in the exception message has been dropped, in favor of that the exception message SHOULD explain that non-positive requests are illegal.**
113+
114+
## Subscription Rule 13
115+
116+
**1.0.0:** While the Subscription is not cancelled, Subscription.cancel() MUST request the Publisher to eventually drop any references to the corresponding subscriber. Re-subscribing with the same Subscriber object is discouraged [see 2.12], but this specification does not mandate that it is disallowed since that would mean having to store previously cancelled subscriptions indefinitely.
117+
118+
**1.0.1:** While the Subscription is not cancelled, Subscription.cancel() MUST request the Publisher to eventually drop any references to the corresponding subscriber.
119+
120+
**Comment: Second part of rule reworked into the Intent-section of the rule.**
121+
122+
## Subscription Rule 15
123+
124+
**1.0.0:** Calling Subscription.cancel MUST return normally. The only legal way to signal failure to a Subscriber is via the onError method.
125+
126+
**1.0.1:** Calling Subscription.cancel MUST return normally.
127+
128+
**Comment: Replaced second part of rule with a definition for `return normally` in the glossary.**
129+
130+
## Subscription Rule 16
131+
132+
**1.0.0:** Calling Subscription.request MUST return normally. The only legal way to signal failure to a Subscriber is via the onError method.
133+
134+
**1.0.1:** Calling Subscription.request MUST return normally.
135+
136+
**Comment: Replaced second part of rule with a definition for `return normally` in the glossary.**
137+
138+
## Subscription Rule 17
139+
140+
**1.0.0:** A Subscription MUST support an unbounded number of calls to request and MUST support a demand (sum requested - sum delivered) up to 2^63-1 (java.lang.Long.MAX_VALUE). A demand equal or greater than 2^63-1 (java.lang.Long.MAX_VALUE) MAY be considered by the Publisher as “effectively unbounded”[3].
141+
142+
**1.0.1:** A Subscription MUST support an unbounded number of calls to request and MUST support a demand up to 2^63-1 (java.lang.Long.MAX_VALUE). A demand equal or greater than 2^63-1 (java.lang.Long.MAX_VALUE) MAY be considered by the Publisher as “effectively unbounded”.
143+
144+
**Comment: Rule simplified by defining `demand` in the glossary, and footnote was reworked into the Intent-section of the rule.**
145+
146+
---
147+
148+
## TCK alterations
149+
150+
- Fixed potential resource leaks in partially consuming Publisher tests ([#375](https://github.com/reactive-streams/reactive-streams-jvm/issues/375))
151+
- Fixed potential resource leaks in partially emitting Subscriber tests ([#372](https://github.com/reactive-streams/reactive-streams-jvm/issues/372), [#373](https://github.com/reactive-streams/reactive-streams-jvm/issues/373))
152+
- Renamed `untested_spec305_cancelMustNotSynchronouslyPerformHeavyCompuatation` to `untested_spec305_cancelMustNotSynchronouslyPerformHeavyComputation` ([#306](https://github.com/reactive-streams/reactive-streams-jvm/issues/306))
153+
- Allow configuring separate timeout for "no events during N time", allowing for more aggressive timeouts in the rest of the test suite if required ([#314](https://github.com/reactive-streams/reactive-streams-jvm/issues/314))
154+
- New test verifying Rule 2.10, in which subscriber must be prepared to receive onError signal without having signaled request before ([#374](https://github.com/reactive-streams/reactive-streams-jvm/issues/374))
155+
- The verification of Rule 3.9 has been split up into 2 different tests, one to verify that an IllegalArgumentException is sent, and the other an optional check to verify that the exception message informs that non-positive request signals are illegal.
156+
---
157+
158+
## Contributors
159+
+ Roland Kuhn [(@rkuhn)](https://github.com/rkuhn)
160+
+ Ben Christensen [(@benjchristensen)](https://github.com/benjchristensen)
161+
+ Viktor Klang [(@viktorklang)](https://github.com/viktorklang)
162+
+ Stephane Maldini [(@smaldini)](https://github.com/smaldini)
163+
+ Stanislav Savulchik [(@savulchik)](https://github.com/savulchik)
164+
+ Konrad Malawski [(@ktoso)](https://github.com/ktoso)
165+
+ Slim Ouertani [(@ouertani)](https://github.com/ouertani)
166+
+ Martynas Mickevičius [(@2m)](https://github.com/2m)
167+
+ Luke Daley [(@ldaley)](https://github.com/ldaley)
168+
+ Colin Godsey [(@colinrgodsey)](https://github.com/colinrgodsey)
169+
+ David Moten [(@davidmoten)](https://github.com/davidmoten)
170+
+ (new) Brian Topping [(@briantopping)](https://github.com/briantopping)
171+
+ (new) Rossen Stoyanchev [(@rstoyanchev)](https://github.com/rstoyanchev)
172+
+ (new) Björn Hamels [(@BjornHamels)](https://github.com/BjornHamels)
173+
+ (new) Jake Wharton [(@JakeWharton)](https://github.com/JakeWharton)
174+
+ (new) Anthony Vanelverdinghe[(@anthonyvdotbe)](https://github.com/anthonyvdotbe)
175+
+ (new) Kazuhiro Sera [(@seratch)](https://github.com/seratch)
176+
+ (new) Dávid Karnok [(@akarnokd)](https://github.com/akarnokd)
177+
+ (new) Evgeniy Getman [(@egetman)](https://github.com/egetman)
178+
+ (new) Ángel Sanz [(@angelsanz)](https://github.com/angelsanz)

Diff for: api/src/main/java/org/reactivestreams/Processor.java

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/************************************************************************
2+
* Licensed under Public Domain (CC0) *
3+
* *
4+
* To the extent possible under law, the person who associated CC0 with *
5+
* this code has waived all copyright and related or neighboring *
6+
* rights to this code. *
7+
* *
8+
* You should have received a copy of the CC0 legalcode along with this *
9+
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.*
10+
************************************************************************/
11+
112
package org.reactivestreams;
213

314
/**

Diff for: api/src/main/java/org/reactivestreams/Publisher.java

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1+
/************************************************************************
2+
* Licensed under Public Domain (CC0) *
3+
* *
4+
* To the extent possible under law, the person who associated CC0 with *
5+
* this code has waived all copyright and related or neighboring *
6+
* rights to this code. *
7+
* *
8+
* You should have received a copy of the CC0 legalcode along with this *
9+
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.*
10+
************************************************************************/
11+
112
package org.reactivestreams;
213

314
/**
415
* A {@link Publisher} is a provider of a potentially unbounded number of sequenced elements, publishing them according to
516
* the demand received from its {@link Subscriber}(s).
617
* <p>
7-
* A {@link Publisher} can serve multiple {@link Subscriber}s subscribed {@link #subscribe(Subscriber)}dynamically
18+
* A {@link Publisher} can serve multiple {@link Subscriber}s subscribed {@link #subscribe(Subscriber)} dynamically
819
* at various points in time.
920
*
1021
* @param <T> the type of element signaled.

Diff for: api/src/main/java/org/reactivestreams/Subscriber.java

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/************************************************************************
2+
* Licensed under Public Domain (CC0) *
3+
* *
4+
* To the extent possible under law, the person who associated CC0 with *
5+
* this code has waived all copyright and related or neighboring *
6+
* rights to this code. *
7+
* *
8+
* You should have received a copy of the CC0 legalcode along with this *
9+
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.*
10+
************************************************************************/
11+
112
package org.reactivestreams;
213

314
/**

Diff for: api/src/main/java/org/reactivestreams/Subscription.java

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/************************************************************************
2+
* Licensed under Public Domain (CC0) *
3+
* *
4+
* To the extent possible under law, the person who associated CC0 with *
5+
* this code has waived all copyright and related or neighboring *
6+
* rights to this code. *
7+
* *
8+
* You should have received a copy of the CC0 legalcode along with this *
9+
* work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.*
10+
************************************************************************/
11+
112
package org.reactivestreams;
213

314
/**
@@ -27,7 +38,7 @@ public interface Subscription {
2738
/**
2839
* Request the {@link Publisher} to stop sending data and clean up resources.
2940
* <p>
30-
* Data may still be sent to meet previously signalled demand after calling cancel as this request is asynchronous.
41+
* Data may still be sent to meet previously signalled demand after calling cancel.
3142
*/
3243
public void cancel();
3344
}

Diff for: build.gradle

+12-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ subprojects {
33
apply plugin: "osgi"
44

55
group = "org.reactivestreams"
6-
version = "1.0.0.RC1"
6+
version = "1.0.1"
77

88
sourceCompatibility = 1.6
99
targetCompatibility = 1.6
@@ -28,23 +28,29 @@ subprojects {
2828
tasks.withType(Test) {
2929
testLogging {
3030
exceptionFormat "full"
31-
events "failed", "started"
31+
events "failed", "started", "standard_out", "standard_error"
3232
}
3333
}
3434

3535
repositories {
3636
mavenCentral()
3737
}
3838

39+
3940
jar {
4041
manifest {
41-
instruction "Bundle-Vendor", "Reactive Streams SIG"
42-
instruction "Bundle-Description", "Reactive Streams API"
43-
instruction "Bundle-DocURL", "http://reactive-streams.org"
42+
instructionReplace "Bundle-Vendor", "Reactive Streams SIG"
43+
instructionReplace "Bundle-Description", "Reactive Streams API"
44+
instructionReplace "Bundle-DocURL", "http://reactive-streams.org"
45+
instructionReplace "Bundle-Version", "1.0.1"
4446
}
4547
}
4648

47-
if (name in ["reactive-streams", "reactive-streams-tck"]) {
49+
if (name in ["reactive-streams",
50+
"reactive-streams-tck",
51+
"reactive-streams-tck-flow",
52+
"reactive-streams-examples",
53+
"reactive-streams-flow-bridge"]) {
4854
apply plugin: "maven"
4955
apply plugin: "signing"
5056

0 commit comments

Comments
 (0)