Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up[FIXED JENKINS-51037] Add ConcurrentSkipListSet to whitelisted classes #3411
Conversation
This adds ConcurrentSkipListSet to the list of default whitelisted classes for deserialization. See JEP-200.
|
Who is actually using a field of this type? Code reference? The JIRA issue gives no context. Generally we add whitelist entries only in response to observed failures. I would also note that whoever is defining a persistent field of this type should stop doing so. Switch the field to some simpler type like |
|
It was in some wip code, but I can take a look into using readResolve instead. |
|
Nevermind, this class isn't needed. |
|
For the record, I see no problem in adding it, just in case. But yes, we have different approaches on that with @jglick :D |
|
I think it's better to be more explicit in your serialization anyways to avoid issues like this. I ended up using a proxy via readResolve/writeReplace. |
jvz commentedApr 27, 2018
This adds ConcurrentSkipListSet to the list of default whitelisted classes for deserialization.
See JEP-200 and JENKINS-51037.
Proposed changelog entries
java.util.concurrent.ConcurrentSkipListSetto whitelisted classes for serialization.Submitter checklist
* Use the
Internal:prefix if the change has no user-visible impact (API, test frameworks, etc.)Desired reviewers
@reviewbybees @dwnusbaum @daniel-beck