-
Notifications
You must be signed in to change notification settings - Fork 67
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
JENKINS-72441 Hide parent gson classes #447
JENKINS-72441 Hide parent gson classes #447
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I tested this as follows:
Reproduced the problem by creating a Pipeline job that uploaded an artifact to S3. Could no longer reproduce the problem after this PR. Also verified in the Script Console that loading com.google.gson.Gson from the Artifact Manager on S3 plugin classloader loaded the class from the GSON API plugin's GSON JAR before this PR and from the Artifact Manager on S3 plugin's GSON JAR after this PR.
Via |
The latter. |
So I checked the effect of reverting this PR on top of #450 and indeed
similar to the reported error. Unfortunately this test also requires Docker fixtures, and |
See https://issues.jenkins.io/browse/JENKINS-72441
jcloud bundle an old version of gson. Fixed on 2.6.0 but unreleased
Testing done
Automated tests
Submitter checklist