Skip to content

[ji] bind interface default methods#6484

Merged
kares merged 5 commits intojruby:masterfrom
kares:bind-interface-defaults
Dec 7, 2020
Merged

[ji] bind interface default methods#6484
kares merged 5 commits intojruby:masterfrom
kares:bind-interface-defaults

Conversation

@kares
Copy link
Member

@kares kares commented Dec 4, 2020

JRuby simply ignored any instance methods on interfaces, however this is incorrect due default methods.

resolves #6479

@kares kares added this to the JRuby 9.3.0.0 milestone Dec 4, 2020
Copy link
Member

@headius headius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, not much of a change required!

@headius
Copy link
Member

headius commented Dec 4, 2020

Looks great to me, nice simple change. Merge as you see fit.

@kares
Copy link
Member Author

kares commented Dec 6, 2020

realized we need another piece of specs here to test interface method invocation with a Ruby target.

@kares kares merged commit 839a3b7 into jruby:master Dec 7, 2020
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.

Java Interface Default methods not properly supported

2 participants