-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
On both 1.7.19 and 9.0.1.0:
require 'jruby/core_ext'
class RubyClz
java_signature "void hello(javafx.event.Event)"
def goodbye(e)
puts "I was called!"
end
end
RubyClz.become_java!
p RubyClz.java_class.methods.sort{|a, b| a.name <=> b.name }.find_all{|x| x.to_s.include? "hello" or x.to_s.include? "goodby"}.map(&:to_s)
# ["public org.jruby.runtime.builtin.IRubyObject rubyobj.RubyClz.goodbye(org.jruby.runtime.builtin.IRubyObject[])"] instead of ["public void hello(javafx.event.Event)"]Reactions are currently unavailable