Set removeOnCancelPolicy on the threadpool if supported
Fixed wrong Java 8 reflection API call
Move the codes out of the finally block
Add onBackpressureBuffer with capacity

The operator takes an optional capacity for the buffer and a callback
that will be invoked if the buffer fills up, along with a
MissingBackpressureException in the Observable's onError.
Scheduler.Worker to be finally unsubscribed to avoid interference.
Merge pull request #1922 from akarnokd/SchedulersRemoveOnCancelPolicy

Set removeOnCancelPolicy on the threadpool if supported
Merge pull request #1926 from zsxwing/fix-merge-finally

Move the codes out of the finally block
Merge pull request #1928 from srvaroa/1.x

Add onBackpressureBuffer with capacity
Merge pull request #1937 from akarnokd/SchedulerTestsFix

Scheduler.Worker to be finally unsubscribed to avoid interference
AbstractOnSubscribe to help build Observables one onNext at a time.
minor tweaks to javadocs for new onBackpressureBuffer variants
Merge pull request #1946 from akarnokd/AbstractOnSubscribe2

AbstractOnSubscribe to help build Observables one onNext at a time.
tidying up AbstractOnSubscribe javadocs
Merge branch '1.x' of https://github.com/ReactiveX/RxJava into merge-fix-1941
attempt fix