Join GitHub today
Minimize readResolve visibility #2567
I don't think plugin code should ever be calling
One is called by tests, so I
I'm actually not positive this is a good idea, I'm counting on @jenkinsci/code-reviewers to be more knowledgeable about this than I am.
@daniel-beck I would suggest firstly to do experiment with but that i saw before but had no time to debug:
ClassBas initialised (stored) field.
ClassBcontains some fields and code in
readResolve()that changes this field.
- jenkins restarts and
readResolveisn't called on nested field.
To bypass this issue i called
@KostyaSha Do you have a reference or reproducible case for this? I am pretty sure that
Please clarify, would you