Skip to content

avoid Scala classes in Java example (#741) #1704

avoid Scala classes in Java example (#741)

avoid Scala classes in Java example (#741) #1704

Triggered via push September 3, 2025 18:50
Status Success
Total duration 9m 0s
Artifacts 6
Matrix: Compile and test
Fit to window
Zoom out
Zoom in

Annotations

60 warnings
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L133
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L95
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L356
method getError in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L355
method wasSuccessful in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value
Compile and test (2.12, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/rendering/DateHeaderRendering.scala#L82
The value matched by Idle is bound to s, which may be used under the
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L133
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/scaladsl/ConnectionContext.scala#L95
class PekkoSSLConfig in package pekko is deprecated (since Akka 2.6.0): Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters.
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L356
method getError in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/StreamUtils.scala#L355
method wasSuccessful in class IOResult is deprecated (since Akka 2.6.0): status is always set to Success(Done)
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value
Compile and test (2.12, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/rendering/DateHeaderRendering.scala#L82
The value matched by Idle is bound to s, which may be used under the
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L134
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 8): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L113
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/Rendering.scala#L155
the type test for scala.collection.LinearSeq[T] cannot be checked at runtime because its type arguments can't be determined from scala.collection.immutable.Iterable[T]
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/javadsl/Http.scala#L478
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/http2/framing/Http2FrameParsing.scala#L160
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/package.scala#L61
Suspicious top-level unqualified call to synchronized
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala#L47
class ActorMaterializer in package stream is deprecated (since Akka 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/WebSocketClientBlueprint.scala#L120
Name protocol is already introduced in an enclosing scope as value protocol at line 117. Did you intend to match it using backquoted `protocol`?
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/ServerTerminator.scala#L130
Name ex is already introduced in an enclosing scope as value ex at line 114. Did you intend to match it using backquoted `ex`?
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.13, 8): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L134
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 11): http-core/src/test/scala/org/apache/pekko/http/impl/engine/client/HostConnectionPoolSpec.scala#L113
pattern binding uses refutable extractor `org.apache.pekko.http.scaladsl.model.HttpRequest`
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/Rendering.scala#L155
the type test for scala.collection.LinearSeq[T] cannot be checked at runtime because its type arguments can't be determined from scala.collection.immutable.Iterable[T]
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/javadsl/Http.scala#L478
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/http2/framing/Http2FrameParsing.scala#L160
Unreachable case except for null (if this is intentional, consider writing case null => instead).
Compile and test (3.3, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/package.scala#L61
Suspicious top-level unqualified call to synchronized
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/util/StageLoggingWithOverride.scala#L47
class ActorMaterializer in package stream is deprecated (since Akka 2.6.0): The Materializer now has all methods the ActorMaterializer used to have
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/WebSocketClientBlueprint.scala#L120
Name protocol is already introduced in an enclosing scope as value protocol at line 117. Did you intend to match it using backquoted `protocol`?
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/ws/UpgradeToWebSocketLowLevel.scala#L31
trait UpgradeToWebSocket in package ws is deprecated (since Akka HTTP 10.2.0): This low-level API has been replaced by an attribute.
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/ServerTerminator.scala#L130
Name ex is already introduced in an enclosing scope as value ex at line 114. Did you intend to match it using backquoted `ex`?
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
method settings in class Materializer is deprecated (since Akka 2.6.0): Use attributes to access settings from stages
Compile and test (2.13, 11): http-core/src/main/scala/org/apache/pekko/http/impl/engine/server/HttpServerBluePrint.scala#L724
value timeout in class StreamSubscriptionTimeoutSettings is deprecated (since Akka 2.6.0): Use attribute 'ActorAttributes.StreamSubscriptionTimeout' to read the concrete setting value

Artifacts

Produced during runtime
Name Size Digest
test-results-11-2.12
608 KB
sha256:a347252307cc56161185c7ee508120648d06a72a9587ece1d7e7b7582c0be0f0
test-results-11-2.13
608 KB
sha256:c82b6a75fb9f5a8deda6dbb83691b6d493cdbb88c52f4c58482890e565989112
test-results-11-3.3
608 KB
sha256:673252e2e4f4a82c626c63d88178e8681b5bc78cf83f0dab4cab292100bf8de1
test-results-8-2.12
607 KB
sha256:bd53c59b09f5fd4ce833da6821384c553aa40bd78b85822e2c6280fcf06c46fe
test-results-8-2.13
607 KB
sha256:538d002c7d3e7ee6c637421549877b621d1b29ef38342af528223bad5f07e9af
test-results-8-3.3
607 KB
sha256:e0e4e612e5d66c5ed0d601a2cfbdff0712bd94d29ac1f6d6bc13be2d51a6dd3f