-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix creating static forwarders for inherited methods #156
Conversation
Reproducing #154
We should create static forwarders for the methods inherited on the companion object, not on the class itself.
fab3420
to
787ce48
Compare
I just confirmed this change fixed #154 in the Akka build, though other problems remain. I'll address those in separate PR's. |
f51b546
to
4da3f08
Compare
4da3f08
to
c679b23
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
// not preceding | ||
public Identify (Object messageId) { throw new RuntimeException(); } | ||
public akka.actor.Identify copy (Object messageId) { throw new RuntimeException(); } | ||
public Object copy$default$1 () { throw new RuntimeException(); } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a nice thing for the future could be to completely filter out Scala stuff that's not intended to be public Java API
We should create static forwarders for the methods inherited on the
companion object, not on the class itself.
Fixes #154