Skip to content

Commit 6ce6052

Browse files
headiuskares
authored andcommitted
Fully drop 9.1 support
JRuby API signatures that do not pass ThreadContext are starting to be removed in JRuby 10.1, and the context versions do not exist until 9.2. JRuby 9.1 is also nearly a decade old and has been EOL for at least half as long.
1 parent 3a42825 commit 6ce6052

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Mavenfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ plugin :clean do
8282
'failOnError' => 'false' )
8383
end
8484

85-
jar 'org.jruby:jruby-core', '9.1.11.0', :scope => :provided
85+
jar 'org.jruby:jruby-core', '9.2.19.0', :scope => :provided
8686
# for invoker generated classes we need to add javax.annotation when on Java > 8
8787
jar 'javax.annotation:javax.annotation-api', '1.3.1', :scope => :compile
8888
jar 'junit:junit', '[4.13.1,)', :scope => :test
8989

9090
# NOTE: to build on Java 11 - installing gems fails (due old jossl) with:
9191
# load error: jopenssl/load -- java.lang.StringIndexOutOfBoundsException
92-
MVN_JRUBY_VERSION = ENV_JAVA['java.version'].to_i >= 9 ? '9.2.19.0' : '9.1.17.0'
92+
MVN_JRUBY_VERSION = '9.2.19.0'
9393

9494
jruby_plugin! :gem do
9595
# when installing dependent gems we want to use the built in openssl not the one from this lib directory

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ DO NOT MODIFY - GENERATED CODE
9797
<dependency>
9898
<groupId>org.jruby</groupId>
9999
<artifactId>jruby-core</artifactId>
100-
<version>9.1.11.0</version>
100+
<version>9.2.19.0</version>
101101
<scope>provided</scope>
102102
</dependency>
103103
<dependency>

0 commit comments

Comments
 (0)