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

fix regression: only skip jar-scanning completely if scanSet is empty #264

Closed
wants to merge 2 commits into from

Conversation

Iridias
Copy link

@Iridias Iridias commented Mar 18, 2020

The commit 21d08e1 introduced a regression to the behavior of jar-scanning. Since version 9.0.31 it skips all jars, if a wildcard is found in the skipSet - no matter the content of the scanSet!

The documentation for jarsToScan clearly states:

overrides the default jarsToSkip list above

This PR restores this behavior by also respecting the "jarsToScan".

@martin-g
Copy link
Member

Fixed with 9c6563b

@martin-g martin-g closed this Mar 23, 2020
@Iridias
Copy link
Author

Iridias commented Mar 23, 2020

Fixed with 9c6563b

Hm, that would ignore the case, that jarsToScan is specified but empty. (Because then defaultScan would be an empty String instead of null)
Is that intended?

@rmaucher
Copy link
Contributor

I hadn't seen this PR at all as there was a BZ there already and it didn't mention it.
I will make the extra change (after all this is a stupid configuration, so it doesn't hurt to handle an even more stupid configuration) and will also give you credit since your patch was correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants