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

Check whether source reference actually is a file #941

Merged
merged 2 commits into from Sep 21, 2019

Conversation

marchof
Copy link
Member

@marchof marchof commented Sep 20, 2019

A corner case has been reported where the source reference points to an folder. Instead of ignoring such a reference (as we do for missing files) in this case the report generation process fails. This fix checks that the source reference actually points to a file.

The issue war reported on the mailing list: https://groups.google.com/forum/?fromgroups=#!topic/jacoco/cx9sTR3KMr4

@marchof marchof requested a review from Godin September 20, 2019 13:46
@marchof marchof self-assigned this Sep 20, 2019
@Godin Godin added this to Implementation in Current work items via automation Sep 20, 2019
@Godin Godin moved this from Implementation to Review in Current work items Sep 20, 2019
@Godin Godin added this to the 0.8.5 milestone Sep 20, 2019
@Godin
Copy link
Member

Godin commented Sep 21, 2019

@marchof I'm wondering if this deserves changelog entry? 😉

@marchof
Copy link
Member Author

marchof commented Sep 21, 2019

@Godin Sure. Done

A corner case has been reported where the source reference points to an
folder. Instead of ignoring such a reference (as we do for missing
files) in this case the report generation process fails. This fix checks
that the source reference actually points to a file.
@marchof marchof force-pushed the ensure-source-reference-is-file branch from b8e6b97 to 89a1581 Compare September 21, 2019 20:54
@Godin Godin merged commit d0a73ed into master Sep 21, 2019
Current work items automation moved this from Review to Done Sep 21, 2019
@Godin Godin deleted the ensure-source-reference-is-file branch September 21, 2019 22:57
@Godin
Copy link
Member

Godin commented Sep 21, 2019

@marchof thanks! 👍

@Godin Godin added the type: bug 🐛 Something isn't working label Sep 21, 2019
@jacoco jacoco locked as resolved and limited conversation to collaborators Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants