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

fixing issue ocurring when trying to open a jarUrl to compute a SHA if #157

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

ehsavoie
Copy link
Collaborator

the target archive is the jar itself and not an embedded archive.

@ehsavoie ehsavoie force-pushed the jar_url_issue branch 3 times, most recently from 29b7bfe to 4d126dd Compare November 15, 2023 10:36
When trying to open a jarUrl to compute a SHA if the target archive is the jar itself
and not an embedded archive then openStream will fail.
So in that case we need to open a stream to a file URL and not a jarUrl.

Signed-off-by: Emmanuel Hugonnet <[email protected]>
@jponge jponge merged commit 2de64f3 into RedHatInsights:main Nov 15, 2023
2 checks passed
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.

2 participants