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

[Tuner] Don't generate AbstractMethodErrors for default interface methods #3458

Merged
merged 1 commit into from
Aug 8, 2019

Conversation

jpobst
Copy link
Contributor

@jpobst jpobst commented Aug 7, 2019

Taken from #1939.

Today when we are compiling a class deriving from Java.Lang.Object that implements an interface and we see a method that exists on the interface that isn't implemented on the class we inject an override method that throws an AbstractMethodError exception.

With Default Interface Members, we need to ignore members that are implemented on the interface and not generate an override. This is done by restricting our generation to abstract methods.

Original context here: f96fcf9

@jonpryor jonpryor merged commit 0c4c033 into master Aug 8, 2019
@jpobst jpobst deleted the dont-tune-dim branch August 8, 2019 19:11
@github-actions github-actions bot locked and limited conversation to collaborators Jan 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants