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

writeReplace should be protected when intended for use from subtypes #243

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

jglick
Copy link
Member

@jglick jglick commented Sep 23, 2020

@jglick jglick added the bug label Sep 23, 2020
@jglick jglick merged commit 906177d into jenkinsci:master Sep 24, 2020
@jglick jglick deleted the protected-writeReplace branch September 24, 2020 19:33
jglick added a commit to jglick/jenkins that referenced this pull request Sep 24, 2020
jglick added a commit to jglick/jenkins that referenced this pull request Sep 28, 2020
jglick added a commit to jglick/jenkins that referenced this pull request Sep 29, 2020
jvz pushed a commit to jenkinsci/jenkins that referenced this pull request Nov 6, 2020
* Unforking XStream

* Some overrides missing from MapperDelegate

* [XSTR-762] writeReplace & readResolve must be accessible to be used from subclasses

* DomElement.click overloads changed incompatibly

* Giving up on ToolInstallation being Serializable.
Fixing MavenInstallation accordingly.
AntInstallation was already fixed: jenkinsci/ant-plugin@c957dca

* Relaxing message assertion in RobustReflectionConverter.randomExceptionsReported

* Picking up jenkinsci/matrix-auth-plugin#89 caught via JobTest

* jenkinsci/jenkins-test-harness#243 released

* Another case forgotten in 0e5aeec

* XStream has SecurityMapper, but we have our own system already, so suppress warning

* GetMavenVersion was also serializing its outer class

* Trying to make ToolInstallation serializable compatible

* Avoid throwing IOException from PersistedList.inModified for common cases covered by jenkinsci/jenkins-test-harness#243

* Found a way to avoid looking up XStream.converterRegistry by reflection

* XStream2Test.crashXstream now throwing ConversionException, not ForbiddenClassException

* Noting which version of the parent POM has jenkinsci/jenkins-test-harness#243

* Refreshed Javadoc for XStream2

* The simplest solution to JENKINS-19561 seems to be to stop using autodetectAnnotations

* Fixing some deprecations in Robust*Converter

* Display OldDataMonitor errors from RobustReflectionConverter during functional tests

* Stray digit in test name

* Added XStream2AnnotationTest to clearly document incompatibility

* Picking up release of jenkinsci/matrix-auth-plugin#89

Co-authored-by: Basil Crow <[email protected]>

Co-authored-by: Basil Crow <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants