datamapper / do

DataObjects
147 stars 73 forks source link

do_jdbc not compatible with jruby-9000 #83

Closed ismith closed 8 years ago

ismith commented 9 years ago

do_jdbc uses org.jruby.RubyClass.defineFastMethod in src/main/java/data_objects/Connection.java; jruby-9000 doesn't have this method.

ismith commented 9 years ago

Repro: In jruby-9.0.0.0.pre2 (or jruby-head), ruby -e "require 'do_mysql'".

RubyClass.defineFastMethod was deprecated in https://github.com/jruby/jruby/commit/ed0a495, and removed entirely in https://github.com/jruby/jruby/commit/ed54aab.