pjfanning commented on issue #3474:
URL: https://github.com/apache/pekko/issues/3474#issuecomment-5438833709

   > Good find. The same trick does work in plain Java code as well (override 
the methods and delegate to `super`). At least, it compiles, haven't tested 
what happens at runtime.
   > 
   > Do you think we could get someone from Scala 3 to chime in on whether this 
is on purpose? I know trait linerarization was changed from 2 to 3 (for good 
reasons), and it seems like the compiler now injects defaults methods (where I 
think before it was real methods), but I can't find any places clearly stating 
that multi-mixins like this now no longer guarantee Java interop.
   
   @jypma the real issue is that Pekko needs better test coverage about these 
Java classes. I don't think Scala 3 which is about to hit its 3.9.0 release is 
going to revert its behaviour at this stage.


-- 
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]

Reply via email to