Skip to content

Commit d64a7ff

Browse files
committed
Released v0.9.2; Removed Java 7 deprecation warning.
1 parent 0d449fb commit d64a7ff

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

lib/concurrent/configuration.rb

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -279,18 +279,4 @@ def self.configuration
279279
def self.configure
280280
yield(configuration)
281281
end
282-
283-
# for dependency reasons this check cannot be in concurrent/synchronization
284-
if Concurrent.on_jruby?
285-
require 'java'
286-
287-
version_string = java.lang.System.getProperties['java.runtime.version']
288-
version = version_string.split('.', 3)[0..1].map(&:to_i)
289-
if (version <=> [1, 8]) < 0
290-
deprecated <<-TXT.gsub(/^\s*\|/, '').chop, 0
291-
|Java 7 is deprecated, please use Java 8.
292-
|Java 7 support is only best effort, it may not work. It will be removed in next release (1.0).
293-
TXT
294-
end
295-
end
296282
end

lib/concurrent/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Concurrent
2-
VERSION = '0.9.1'
2+
VERSION = '0.9.2'
33
EDGE_VERSION = '0.1.1'
44
end

0 commit comments

Comments
 (0)