Skip to content

[fix] java_alias-ing for interface methods#7514

Merged
headius merged 1 commit intojruby:jruby-9.3from
kares:fix-java-alias-interface
Jan 31, 2023
Merged

[fix] java_alias-ing for interface methods#7514
headius merged 1 commit intojruby:jruby-9.3from
kares:fix-java-alias-interface

Conversation

@kares
Copy link
Member

@kares kares commented Dec 6, 2022

previously doing a MyInterface.java_alias just errored:

ClassCastException: class org.jruby.RubyModule cannot be cast to class org.jruby.RubyClass


extracted from #7503 after I bumped into this twice in 9.3.9.0

previously doing a MyInterface.java_alias just errored:

ClassCastException: class org.jruby.RubyModule cannot be cast to class
org.jruby.RubyClass
@headius
Copy link
Member

headius commented Jan 31, 2023

Looks good. Trivial fix.

@headius headius merged commit 8e69001 into jruby:jruby-9.3 Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants