Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace use of block with lambda to fix wrong number of arguments error on jruby-9.3.4.0 #42

Conversation

andsel
Copy link
Contributor

@andsel andsel commented Jun 16, 2022

This PR avoid a problem with JRuby 9.3.4.0 when a ruby block is passed as functional interface argument to a Java method and invokedynamic is enabled.

Copy link
Contributor

@kares kares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good catch

could have been triggered once 2 DLQ inputs where defined in a configuration!

@andsel andsel merged commit 1f4da31 into logstash-plugins:main Jun 16, 2022
@andsel andsel self-assigned this Jun 16, 2022
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.

None yet

2 participants