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 NoSuchMethodError when using IOUtils.toString(InputStream, Charset) #516

Merged
merged 1 commit into from
Jun 21, 2021

Conversation

yahavi
Copy link
Member

@yahavi yahavi commented Jun 11, 2021

  • All tests passed. If this feature is not already covered by the tests, I added new tests.

Same as #450
Resolves jfrog/jenkins-artifactory-plugin#506

Use IOUtils.toString(InputStream,String) instead of IOUtils.toString(InputStream, Charset) to support usage of Apache Commons older than 2.3. This issue may occur in the Jenkins plugin whereby Apache Commons 2.2 used in the classloader from one of the other plugins.

@yahavi yahavi merged commit 4e50b66 into jfrog:master Jun 21, 2021
@yahavi yahavi deleted the ioutils-tostring branch June 21, 2021 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants