The GitHub Actions job "Binary Compatibility" on pekko.git/testkitWarning has 
failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
f414ab508f10eb3ac66c091f541e6eb7f37b23bc / He-Pin(亐) <[email protected]>
Fix Java unchecked warnings in stream testkit fluent API (#2625)

Use Scala's `this.type` return type instead of abstract type member `Self`
to fix raw type erasure in bytecode signatures. This is a root-cause fix
that eliminates unchecked warnings in Java without any boilerplate overrides.

Root cause: `type Self <: ManualProbe[I]` erased to raw `ManualProbe` in
bytecode (no generic Signature attribute), causing Java to see raw types.
`this.type` makes the Scala compiler emit `ManualProbe<TI;>` (parameterized)
in the bytecode Signature attribute, so Java sees proper generic types.

Changes:
- Remove `type Self` abstract type members from ManualProbe/Probe classes
- Change all fluent method return types from `Self` to `this.type`
- Replace `self` references with `this`
- Fix ScalaDoc links: TestSubscriber β†’ TestSubscriber.Probe, TestPublisher β†’ 
TestPublisher.Probe
- Fix typo: "JAVA PAI" β†’ "JAVA API"

Binary compatible: erased JVM return types unchanged (MiMa safe).
Only generic Signature attribute metadata changes.

Report URL: https://github.com/apache/pekko/actions/runs/23062074913

With regards,
GitHub Actions via GitBox


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

Reply via email to