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: c024d23b0d84b3b3355a80c6e7ba0fce2e2a97c2 / 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/40543299520 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
