We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
I've got the ruby classes Foo & Barand want to generate the corresponding java class with become_java!:
Foo
Bar
become_java!
class Foo def foo puts 'Hello foo' end end class Bar < Foo def bar puts 'Hello bar' end end cls = Bar.become_java! cls.declared_methods.each do |method| puts method.name end
foo bar clinit
bar clinit
(foo is missing)
foo
$ ruby -v jruby 9.1.7.0 (2.3.1) 2017-01-11 68056ae Java HotSpot(TM) 64-Bit Server VM 25.60-b23 on 1.8.0_60-b27 +jit [darwin-x86_64] $ echo $JRUBY_OPTS $
The text was updated successfully, but these errors were encountered:
I don't think this has ever worked, has it?
Sorry, something went wrong.
I'm new to jruby, so I can't answer this question.
Does someone know a workaround to call foo in Java?
Might be related: #5571
No branches or pull requests
I've got the ruby classes
Foo
&Bar
and want to generate the corresponding java class withbecome_java!
:Expected Behavior (ruby script output)
Actual Behavior (ruby script output)
(
foo
is missing)Environment
The text was updated successfully, but these errors were encountered: