Skip to content

Don't uncondtionally emit forwarders as ACC_SYNTHETIC #6173

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

Merged
merged 1 commit into from
Mar 26, 2019

Conversation

smarter
Copy link
Member

@smarter smarter commented Mar 26, 2019

It turns out that javac sometimes gets confused when a non-synthetic abstract
method is overridden by a synthetic method in a derived class.

This is a blocker for the full bootstrap due to the sbt-bridge containing Java code that extend from Scala code.

It turns out that javac sometimes gets confused when a non-synthetic abstract
method is overridden by a synthetic method in a derived class.
@smarter smarter requested a review from odersky March 26, 2019 13:54
@smarter smarter added this to the 0.14 Tech Preview milestone Mar 26, 2019
@smarter
Copy link
Member Author

smarter commented Mar 26, 2019

Merging this now to get it in the next nightly but I'll take into account any post-merge review comment.

@smarter smarter merged commit c89fd23 into scala:master Mar 26, 2019
@allanrenucci allanrenucci deleted the fix-synthetic-forwarder branch March 26, 2019 19:23
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