Skip to content

Commit 67eb274

Browse files
jsvdyaauie
authored andcommitted
update jruby to 9.2.12.0
Also tweak the documentation since most of the add-opens are no longer needed, except: java.io due to colinsurprenant/jruby-stdin-channel#1 java.security due to jruby-openssl java.nio.channels, sun.nio.ch, sun.management and java.io from jruby: https://github.com/jruby/jruby/blob/9.2.12.0/bin/.jruby.module_opts Co-authored-by: Ry Biesemeyer <[email protected]>
1 parent 23efb8d commit 67eb274

File tree

3 files changed

+10
-18
lines changed

3 files changed

+10
-18
lines changed

docs/static/troubleshooting.asciidoc

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Running Logstash with Java 11 results in warnings similar to these:
5959
[source,sh]
6060
-----
6161
WARNING: An illegal reflective access operation has occurred
62-
WARNING: Illegal reflective access by org.jruby.util.SecurityHelper (file:/Users/chrisuser/logstash-6.7.0/logstash-core/lib/jars/jruby-complete-9.2.6.0.jar) to field java.lang.reflect.Field.modifiers
63-
WARNING: Please consider reporting this to the maintainers of org.jruby.util.SecurityHelper
62+
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/{...}/jruby{...}jopenssl.jar) to field java.security.MessageDigest.provider
63+
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
6464
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
6565
WARNING: All illegal access operations will be denied in a future release
6666
-----
@@ -73,18 +73,11 @@ Try adding these values to the `jvm.options` file.
7373

7474
[source,sh]
7575
-----
76-
--add-opens=java.base/java.lang=ALL-UNNAMED
77-
--add-opens=java.base/java.security=ALL-UNNAMED
78-
--add-opens=java.base/java.util=ALL-UNNAMED
79-
--add-opens=java.base/java.security.cert=ALL-UNNAMED
80-
--add-opens=java.base/java.util.zip=ALL-UNNAMED
81-
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
82-
--add-opens=java.base/java.util.regex=ALL-UNNAMED
83-
--add-opens=java.base/java.net=ALL-UNNAMED
84-
--add-opens=java.base/java.io=ALL-UNNAMED
85-
--add-opens=java.base/java.lang=ALL-UNNAMED
86-
--add-opens=java.base/javax.crypto=ALL-UNNAMED
87-
--add-opens=java.management/sun.management=ALL-UNNAMED
76+
--add-opens=java.base/java.security=ALL-UNNAMED
77+
--add-opens=java.base/java.io=ALL-UNNAMED
78+
--add-opens=java.base/java.nio.channels=org.jruby.dist
79+
--add-opens=java.base/sun.nio.ch=org.jruby.dist
80+
--add-opens=java.management/sun.management=org.jruby.dist
8881
-----
8982

9083
*Notes:*
@@ -338,4 +331,3 @@ Coming soon
338331

339332

340333

341-

rubyUtils.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ buildscript {
2525
dependencies {
2626
classpath 'org.yaml:snakeyaml:1.23'
2727
classpath "de.undercouch:gradle-download-task:4.0.4"
28-
classpath "org.jruby:jruby-complete:9.2.11.1"
28+
classpath "org.jruby:jruby-complete:9.2.12.0"
2929
}
3030
}
3131

versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ logstash-core-plugin-api: 2.1.16
77
# jruby must reference a *released* version of jruby which can be downloaded from the official download url
88
# *and* for which jars artifacts are published for compile-time
99
jruby:
10-
version: 9.2.11.1
11-
sha1: cceb81635fe3cd39f895c7632428e94b503e8e3d
10+
version: 9.2.12.0
11+
sha1: bccc2034e773cb1aba2cc4b8b40921265f6e857f
1212

1313
# jruby-runtime-override, if specified, will override the jruby version installed in vendor/jruby for logstash runtime only,
1414
# not for the compile-time jars

0 commit comments

Comments
 (0)