You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Specify an alternate directory using the `-Djava.io.tmpdir` setting in the `jvm.options` file.
46
47
47
48
49
+
[float]
50
+
[[ts-startup]]
51
+
== {ls} start up
52
+
53
+
[float]
54
+
[[ts-illegal-reflective-error]]
55
+
=== 'Illegal reflective access' errors
56
+
57
+
// https://github.com/elastic/logstash/issues/10496 and https://github.com/elastic/logstash/issues/10498
58
+
59
+
Running Logstash with Java 11 results in warnings similar to these:
60
+
61
+
[source,sh]
62
+
-----
63
+
WARNING: An illegal reflective access operation has occurred
64
+
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
65
+
WARNING: Please consider reporting this to the maintainers of org.jruby.util.SecurityHelper
66
+
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
67
+
WARNING: All illegal access operations will be denied in a future release
68
+
-----
69
+
70
+
These errors appear related to https://github.com/jruby/jruby/issues/4834[a known issue with JRuby].
71
+
72
+
*Work around*
73
+
74
+
Try adding these values to the `jvm.options` file.
0 commit comments