He-Pin opened a new pull request, #3072: URL: https://github.com/apache/pekko/pull/3072
### Motivation Scala 3.8 deprecates `private[this]` in favor of `private`, and deprecates uninitialized vars (`= _`) in favor of explicit default values. These deprecations cause compilation warnings under Scala 3.8. ### Modification - Replace `private[this]` and `protected[this]` with `private` and `protected` across 94 files in `actor`, `actor-typed`, `bench-jmh`, `cluster-sharding-typed`, `persistence`, `remote`, and `stream` modules - Replace `= _` initializers with explicit defaults (`= null`, `= None`, `= 0`, `= 0L`, `= false`, etc.) in affected files - No behavioral changes; these are purely mechanical deprecation fixes ### Result Code compiles cleanly under Scala 3.8 without `private[this]` or uninitialized var deprecation warnings. No runtime behavior changes. ### Tests - Not run - mechanical refactoring, compilation test sufficient ### References None - proactive Scala 3.8 forward compatibility -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
