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

Use Xstream2#addCriticalField directly instead of via reflection #42

Merged
merged 1 commit into from
Sep 9, 2019

Conversation

darxriggs
Copy link
Contributor

Since Jenkins 2.85 (https://jenkins.io/changelog/#v2.85) this method is available for plugins.

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend using an LTS baseline which includes the fix

@darxriggs
Copy link
Contributor Author

darxriggs commented Sep 5, 2019

@oleg-nenashev I have heard this recommendation multiple times and followed it when working on other plugins. But the more I think about it the more uncertain I am about its intent. Shouldn't a user be free to decide which version to install as long as it meets the minimum requirements?

May I therefore ask you to elaborate a bit more on the background?

Copy link
Member

@ikedam ikedam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me.

+1 to use LTS versions, 2.89.4 for this case.
Non-LTS versions often contain bugs and I don’t recommend to use them both for users and developers.

Since Jenkins 2.85 (https://jenkins.io/changelog/#v2.85) this method is available for plugins.

With 2.89.4. using the next LTS version with the highest patch level.
@darxriggs darxriggs force-pushed the replace-xstream2-reflection branch from e03881d to 2bce905 Compare September 8, 2019 07:47
@darxriggs
Copy link
Contributor Author

I updated the required Jenkins version.

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.

3 participants