mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
17 lines
534 B
Diff
17 lines
534 B
Diff
Fixes error when compiling Java implementation with recent OpenJDK:
|
|
|
|
error: Source option 7 is no longer supported. Use 8 or later.
|
|
error: Target option 7 is no longer supported. Use 8 or later.
|
|
|
|
--- a/Rakefile
|
|
+++ b/Rakefile
|
|
@@ -13,6 +13,8 @@
|
|
Rake::JavaExtensionTask.new('concurrent_ruby', core_gemspec) do |ext|
|
|
ext.ext_dir = 'ext/concurrent-ruby'
|
|
ext.lib_dir = 'lib/concurrent-ruby/concurrent'
|
|
+ ext.source_version = '8'
|
|
+ ext.target_version = '8'
|
|
end
|
|
|
|
unless Concurrent.on_jruby? || Concurrent.on_truffleruby?
|