Skip to content

Moves ArrayCoercible setting to java#18825

Draft
andsel wants to merge 2 commits intoelastic:mainfrom
andsel:feature/array_coercible_setting_to_java
Draft

Moves ArrayCoercible setting to java#18825
andsel wants to merge 2 commits intoelastic:mainfrom
andsel:feature/array_coercible_setting_to_java

Conversation

@andsel
Copy link
Contributor

@andsel andsel commented Feb 27, 2026

Release notes

What does this PR do?

Why is it important/What is the impact to the user?

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Use cases

Screenshots

Logs

…s because there are some subclasses,

easier to remove when also the subclasses are moved.

Updated all instantiations to use Java classes and not Rubyt ones (so use Java's String class and not RubyString, etc).
Impemented equality methods on the setting, used in Ruby tests. These requires to compare Java's List instances, because
RubyArray, despite implementing Java's List interfacem  does a hard type check on RubyArray itself.
@andsel andsel self-assigned this Feb 27, 2026
@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)
  • run exhaustive tests : Run the exhaustive tests Buildkite pipeline.

@mergify
Copy link
Contributor

mergify bot commented Feb 27, 2026

This pull request does not have a backport label. Could you fix it @andsel? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • If no backport is necessary, please add the backport-skip label

@andsel andsel changed the title Feature/array coercible setting to java Moves ArrayCoercible setting to java Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reimplement LogStash::Setting::ArrayCoercible to Java

2 participants