Suppress AnonymousClassWarnings for hudson.FilePath$2

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I can see on  logs:

      2020-08-27 18:28:43.548+0000 [id=1840]	WARNING	o.j.r.u.AnonymousClassWarnings#warn: Attempt to (de-)serialize anonymous class hudson.FilePath$2 in file:/var/cache/jenkins/war/WEB-INF/lib/jenkins-core-2.235.5-cb-1.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      

      We have to create an inner static class to take over the adhoc class created on https://github.com/jenkinsci/jenkins/blob/84153f66d2e93df4d9f5c457871e24a8cbf1f016/core/src/main/java/hudson/FilePath.java#L2028

       

            Assignee:
            Ramon Leon
            Reporter:
            Ramon Leon
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: