Skip to content

Fix and tests for concrete extension #java_class returning the parent#6886

Merged
headius merged 3 commits intojruby:masterfrom
byteit101:class-eq-become
Oct 12, 2021
Merged

Fix and tests for concrete extension #java_class returning the parent#6886
headius merged 3 commits intojruby:masterfrom
byteit101:class-eq-become

Conversation

@byteit101
Copy link
Member

class UL < java.util.ArrayList
end
UL.become_java! # => #<Java::JavaLang::Class: rubyobj.UL> 
UL.java_class # => #<Java::JavaLang::Class: java.util.ArrayList> 

This updates the java_class when become_java! is called

@headius headius merged commit 5324946 into jruby:master Oct 12, 2021
@headius headius added this to the JRuby 9.3.1.0 milestone Oct 12, 2021
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