Skip to content
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

Merged
merged 3 commits into from
Dec 13, 2018

Conversation

raboof
Copy link
Contributor

@raboof raboof commented Dec 11, 2018

We should create static forwarders for the methods inherited on the
companion object, not on the class itself.

Fixes #154

We should create static forwarders for the methods inherited
on the companion object, not on the class itself.
@raboof raboof force-pushed the fixDispatcherSelector branch from fab3420 to 787ce48 Compare December 11, 2018 11:27
@raboof
Copy link
Contributor Author

raboof commented Dec 11, 2018

I just confirmed this change fixed #154 in the Akka build, though other problems remain. I'll address those in separate PR's.

@raboof raboof changed the title Fix creating static forwarders for inherited methods [not for merge] Fix creating static forwarders for inherited methods Dec 11, 2018
@raboof raboof force-pushed the fixDispatcherSelector branch 3 times, most recently from f51b546 to 4da3f08 Compare December 12, 2018 11:02
@raboof raboof changed the title [not for merge] Fix creating static forwarders for inherited methods Fix creating static forwarders for inherited methods Dec 12, 2018
Copy link
Contributor

@patriknw patriknw left a 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(); }
Copy link
Contributor

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

@raboof raboof merged commit fbe5d21 into master Dec 13, 2018
@raboof raboof deleted the fixDispatcherSelector branch December 13, 2018 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants