logstash/bin
Andrea Selva 26d1c7ccdb
Update to JRuby 9.4 (#14861)
Set of changes to make Logstash compatible to JRuby 9.4.
Bundle JRuby 9.4.3.0

- Redefine space token in `LSCL`  and `grammar` treetop from `_` which would generated methods in the form `def _0` (deprecated since `2.7`) to `sc`.
- `I18n.t` method doesn't accept hash as second argument
- `URI.encode` has been replaced with same functionality with `URI::Parser.new.escape`
- `YAML.load` needs explicit `fallback: false` to return false when the yaml string is empty (or contains only comments)
- JRuby's  `JavaClass` has been removed, now it can use `java.lang.Class` directly
- explicitly require gem `thwait` to satisfy `require "thwait"` (In `Gemfile.template` and `logstash-core/logstash-core.gemspec`)
- fix not args `clone` to be `def clone(*args)`
- fix `Enumeration.each_slice` which from `Ruby 3.1` is [chainable](https://rubyreferences.github.io/rubychanges/3.1.html#enumerableeach_cons-and-each_slice-return-a-receiver) and doesn't return `nil`. JRuby fixed in https://github.com/jruby/jruby/issues/7015
- Expanded `Down.download` arguments map ca16bbed3c302006967413eb9d3862f2da81f7ae
- Avoid to pass `nil` in the list of couples used in `Hash[ <list of couples> ]` which from Ruby `3.0` generates an `ArgumentError`
- Removed space not allowed between method name and parentheses `initialize (` is forbidden. 29b607dcdef98f81a73ad171639fd13aaa65e243
- With [Ruby 2.7 the `Kernel#open`](https://rubyreferences.github.io/rubychanges/2.7.html#network-and-web) doesn't fallback to `URI#open`, fixed test code that used that to verify open port. e5b70de54c5301f51a767da67294092af0cfafdc
- Avoid to drop `rdoc/` folder from vendored JRuby else `bin/logstash -i irb` would crash, commit b71f73e9c6edb81a7b7ae1305047e506f61c6e8c

Co-authored-by: João Duarte <jsvd@users.noreply.github.com>
2023-06-28 13:05:43 +02:00
..
benchmark.bat Quotes java executable path in case it contains spaces (#13881) 2022-03-14 18:17:38 +01:00
benchmark.sh Benchmark: added run script 2017-08-02 15:16:16 +00:00
bundle MINOR: Remove duplication and fix docs in bundler shim 2017-11-06 14:52:40 +00:00
cpdump reference correct class path 2017-07-18 16:21:09 -04:00
dependencies-report instructions on how to run tool, remove unused readlink call in script 2018-08-27 21:44:47 +00:00
ingest-convert.bat Quotes java executable path in case it contains spaces (#13881) 2022-03-14 18:17:38 +01:00
ingest-convert.sh #7329 invoker script for convert jar 2017-06-07 07:17:53 +00:00
logstash Refactor: drop redundant (jruby-complete.jar) dependency (#13159) 2022-02-02 06:55:26 +01:00
logstash-keystore Changed: base-line JRUBY_OPTS to default to --dev 2019-12-03 10:51:44 +00:00
logstash-keystore.bat Fix Windows scripts (#14515) 2022-09-09 09:06:57 -04:00
logstash-plugin Changed: base-line JRUBY_OPTS to default to --dev 2019-12-03 10:51:44 +00:00
logstash-plugin.bat Fix Windows scripts (#14515) 2022-09-09 09:06:57 -04:00
logstash.bat Fix windows scripts to also pull settings from JvmOptionsParser (#14355) 2022-07-18 09:03:40 -04:00
logstash.lib.sh Update to JRuby 9.4 (#14861) 2023-06-28 13:05:43 +02:00
pqcheck fix broken classpath when whitespaces are in the path #9832 2018-07-16 16:43:25 -04:00
pqcheck.bat Quotes java executable path in case it contains spaces (#13881) 2022-03-14 18:17:38 +01:00
pqrepair fix broken classpath when whitespaces are in the path #9832 2018-07-16 16:43:25 -04:00
pqrepair.bat Quotes java executable path in case it contains spaces (#13881) 2022-03-14 18:17:38 +01:00
rspec Changed: base-line JRUBY_OPTS to default to --dev 2019-12-03 10:51:44 +00:00
rspec.bat correctly handle paths with spaces 2018-01-11 13:28:15 -05:00
ruby Changed: base-line JRUBY_OPTS to default to --dev 2019-12-03 10:51:44 +00:00
setup.bat Retrive JVM_VERSION from Logstash's home directory (#14797) 2023-01-12 13:56:51 +01:00
system-install Bundle JDK (AdoptOpenJDK 11) in Logstash artifacts (x86_64) 2020-09-23 08:18:31 -07:00