From 1cca8720a8a2a1f6c1e5fa4d94a1f8fc50b41143 Mon Sep 17 00:00:00 2001 From: Thomas E Enebo Date: Tue, 2 Jul 2024 18:42:17 -0500 Subject: [PATCH] JRuby supports Java 8 and higher. Need to emit Java 8 classfile format (#317) --- rakelib/extension.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rakelib/extension.rake b/rakelib/extension.rake index 2f4710b..47fddf0 100644 --- a/rakelib/extension.rake +++ b/rakelib/extension.rake @@ -4,7 +4,7 @@ if defined? JRUBY_VERSION require "rake/javaextensiontask" Rake::JavaExtensionTask.new("nio4r_ext") do |ext| ext.ext_dir = "ext/nio4r" - ext.release = '9' + ext.release = '8' end else require "rake/extensiontask"