Build #2,854

Build: #2854 was successful Changes by Simon Baslé <sbasle@vmware.com>

Build result summary

Details

Completed
Duration
9 minutes
Labels
None
Agent
bamboo-23.af.pivotal.io
Revision
7d6c86256468a9c062654406a33f4929ad6a273b 7d6c86256468a9c062654406a33f4929ad6a273b
Total tests
7570
Successful since
#2845 ()

Tests

Code commits

Author Commit Message Commit date
Simon Baslé <sbasle@vmware.com> Simon Baslé <sbasle@vmware.com> ec24c51d46ce83d9ee732cf6add85012b42ee20d ec24c51d46ce83d9ee732cf6add85012b42ee20d [build] Polish japicmp: show report content on console
Simon Baslé <sbasle@vmware.com> Simon Baslé <sbasle@vmware.com> 7d6c86256468a9c062654406a33f4929ad6a273b 7d6c86256468a9c062654406a33f4929ad6a273b fix #2293 Reduce the API impact of the introduction of ContextView
In 3.4.0-M2 snapshots, ContextView has just been introduced and has been
used in the public-facing API to replace Context where it makes sense.
However, this later aspect makes the migration more difficult, whereas
the binary compatibility could be preserved.

This commit restores the old methods that were exposing the Context,
making them deprecated and adding ContextView-based variants with an
alternative name (since these methods either _return_ the Context or
take a lambda parameter, with type erasure).

In particular:
 - `Context#putAll(Context)` is brought back (deprecated. this one can
 coexist along `Context#putAll(ContextView)`)
 - `deferWithContext` is back to a `Function<Context, ...>`, deprecated
 - the `ContextView` is instead introduced through `deferContextual`
 - the new suffix `xxxContextual` is applied to the previously just
 introduced `transformDeferred(BiFunction)`, renaming it to
 `transformContextual` (for consistency)
 - `Signal#getContext()` is back to returning `Context`, deprecated
 - added `Signal#getContextView()`