Skip to content

[backport 7.x] Fix Reflections stack traces when process yml files in ... (#12991)#13003

Merged
andsel merged 1 commit intoelastic:7.xfrom
andsel:backport_12991_7.x
Jun 18, 2021
Merged

[backport 7.x] Fix Reflections stack traces when process yml files in ... (#12991)#13003
andsel merged 1 commit intoelastic:7.xfrom
andsel:backport_12991_7.x

Conversation

@andsel
Copy link
Contributor

@andsel andsel commented Jun 18, 2021

Fix Reflections stack traces when process yml files in classpath and debug is enabled (#12991)

Backport of #12991 to branch 7.x


Adds a filter to Reflections library initialization so that when it scan "org.logstash.plugins" it includes only .class files and avoid to load and process AliasRegistry.yml and plugin_aliases.yml

Fixes #12992

(cherry picked from commit a6e9a6b)

…debug is enabled (elastic#12991)

Adds a filter to Reflections library initialization so that when it scan "org.logstash.plugins" it includes only .class files and avoid to load and process AliasRegistry.yml and plugin_aliases.yml

Fixes elastic#12992

(cherry picked from commit a6e9a6b)
@andsel
Copy link
Contributor Author

andsel commented Jun 18, 2021

Jenkins test this please

Copy link
Contributor

@kaisecheng kaisecheng left a comment

Choose a reason for hiding this comment

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

CI 💚 LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants