Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53307

Transform anonymous classes sent over remoting into non anonymous classes

XMLWordPrintable

    • Evergreen - Milestone 1

      Issue

      The Git plugin triggers the following warnings currently:

      Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1 in file:/evergreen/jenkins/var/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      

      And

      Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.gitclient.Git$1 in file:/evergreen/jenkins/var/plugins/git-client/WEB-INF/lib/git-client.jar; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      

      Expected

      The anonymous class should be extracted to a full blown one so that this warning (and more importantly remoting works as fine as possible) goes away.

      Thanks!

            markewaite Mark Waite
            batmat Baptiste Mathus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: