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

Adding an abstract method is a binary compatible evolution. Fix #69 #70

Closed

Conversation

dotta
Copy link
Contributor

@dotta dotta commented May 27, 2015

As stated in Java binary compatibility doc
(https://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html),
"adding new fields, methods, or constructors to an existing class or
interface" is a binary compatible evolution.

Adding an abstract method to an interface or class is probably the
most surprising binary compatible evolution, but it makes a lot of sense
and it's pretty neat.

Also, by fixing this problem, we now also fully support Java8 default methods.
Which is why this commit also Fix #68.

@dotta
Copy link
Contributor Author

dotta commented May 27, 2015

@jsuereth This one should bring back some memory from Scala Days in Stanford ;-)

And pinging a few more people that may be interested in this fix \cc @adriaanm @ktoso @jroper

…bend#69

As stated in Java binary compatibility doc
(https://docs.oracle.com/javase/specs/jls/se8/html/jls-13.html),
"adding new fields, methods, or constructors to an existing class or
interface" is a binary compatible evolution.

Adding an abstract method to an interface or class is probably the
most surprising binary compatible evolution, but it makes a lot of sense
and it's pretty neat.

Also, by fixing this problem, we now also fully support Java8 default methods.
Which is why this commit also Fix lightbend#68.
@dotta dotta force-pushed the issue/69-adding-abstract-method branch from d7974b6 to e48a091 Compare May 28, 2015 08:03
@dotta
Copy link
Contributor Author

dotta commented May 28, 2015

If I don't hear anything, I'm going to merge this tonight.

@dotta
Copy link
Contributor Author

dotta commented Jun 2, 2015

Closing this as there are a couple of things I need to verify. Will reopen when it's ready.

@dotta dotta closed this Jun 2, 2015
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.

Support for Java8 default methods
1 participant