diff --git a/.evergreen/config.yml b/.evergreen/config.yml index cff844729..0f3017880 100644 --- a/.evergreen/config.yml +++ b/.evergreen/config.yml @@ -296,6 +296,10 @@ axes: display_name: ruby-2.7 variables: RVM_RUBY: ruby-2.7 + - id: jruby-10.0 + display_name: jruby-10.0 + variables: + RVM_RUBY: jruby-10.0 - id: jruby-9.4 display_name: jruby-9.4 variables: @@ -390,13 +394,13 @@ buildvariants: - name: "test" - matrix_name: "special-os" - matrix_spec: { ruby: ["ruby-3.2", "ruby-3.1", "jruby-9.4"], special-os: '*' } + matrix_spec: { ruby: ["ruby-3.2", "ruby-3.1", "jruby-9.4", "jruby-10.0"], special-os: '*' } display_name: "${ruby}, ${special-os}" tasks: - name: "test" - matrix_name: "jruby" - matrix_spec: { ruby: ["jruby-9.4", "jruby-9.3"], all-os: ubuntu2204 } + matrix_spec: { ruby: ["jruby-9.4", "jruby-9.3", "jruby-10.0"], all-os: ubuntu2204 } display_name: "${ruby}, ${all-os}" tasks: - name: "test" diff --git a/src/main/org/bson_ruby/NativeService.java b/src/main/org/bson_ruby/NativeService.java index 02eb11896..9938380dd 100644 --- a/src/main/org/bson_ruby/NativeService.java +++ b/src/main/org/bson_ruby/NativeService.java @@ -56,7 +56,7 @@ public class NativeService implements BasicLibraryService { * @since 2.0.0 */ public boolean basicLoad(final Ruby runtime) throws IOException { - RubyModule bson = runtime.fastGetModule(BSON); + RubyModule bson = runtime.getModule(BSON); GeneratorExtension.extend(bson); RubyClass byteBuffer = bson.defineClassUnder("ByteBuffer", runtime.getObject(), new ObjectAllocator() {