mdedetrich commented on PR #2479: URL: https://github.com/apache/pekko/pull/2479#issuecomment-3522156733
So I have some bad/annoying news, it appears that its not possible to do this in Pekko 1.3.x because of how the inheritance between the various Actor classes is done and the fact that Java interfaces cannot extend abstract classes. I can get the `scaladsl` to work by having the `actor.scaladsl.ActorSystem`/`actor.javadsl.ActorSystem`be a `trait`, converting `actor.ActorSystem` to a trait but the same doesn't work because we need a constructor for `actor.ActorSystem` (some parts of Akka can instantiate a `actor.ActorSystem` manually by reflection). I tried making `ActorSystemImpl` a trait to get around this, but we then get a cyclic inheritance issue. Ill have another try at it, but it looks like that in order to do this it would have to be with breaking changes in Pekko 2.0.0 where some slight adjustments to the inheritance need to be made -- 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]
