Given the following code:
require 'java'
java_import 'org.quartz.*'
class RubyTestJob
java_implements Java::org.quartz.Job
java_signature 'void execute(org.quartz.JobExecutionContext jobExecutionContext) throws org.quartz.JobExecutionException'
def execute( context )
puts "bar"
end
end
running
jrubyc -c lib/quartz-all-2.1.1.jar --javac lib/rubytestjob.rb
produces an abstract class, because the "throws org.quartz.JobExecutionException" seems to be ignored when generating the execute method.
Is there a way to do this in JRuby?