The GitHub Actions job "Validate and test" on 
pekko-http.git/java-smaller-wildcards has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
af1b15e9aa51befed58dedefe5950aa28501041e / PJ Fanning 
<[email protected]>
accept wildcard result and materialized types in remaining Java APIs

Motivation:
Java generics are invariant, so a CompletionStage<HttpEntity.Strict> (as
from entity.toStrict(...)) could not be passed to completeOKWithFuture,
and a framing renderer flow that materializes anything but NotUsed could
not be passed to withFramingRendererFlow.

Modification:
Widen RouteDirectives.completeOKWithFuture, completeWithFuture and
completeWithFutureStatus to CompletionStage<? extends T>, and
Json/CsvEntityStreamingSupport.withFramingRendererFlow (javadsl and the
scaladsl overrides) to Flow<ByteString, ByteString, ?>. Add MiMa
excludes for the generic-signature-only changes.

Result:
Java callers can pass these without casts or mapMaterializedValue. The
erased signatures are unchanged.

Tests:
- sbt http/compile http/mimaReportBinaryIssues - passed
- new Java tests not run locally (machine overloaded); left to CI

References:
Refs #1378

Report URL: https://github.com/apache/pekko-http/actions/runs/40472462801

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to