(Triggered via JENKINS-49573 comment conversation)

      After upgrading to Jenkins 2.110 and actually presumably JENKINS-49795 I saw the following warning logs:

      2018-03-07 11:39:37 WARNING [jenkins.security.ClassFilterImpl lambda$isBlacklisted$1]   JENKINS-49573: attempt to (de-)serialize anonymous class org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue$1 in file:/var/lib/jenkins/plugins/pipeline-model-api/WEB-INF/lib/pipeline-model-api.jar
      2018-03-07 11:39:37 WARNING [jenkins.security.ClassFilterImpl lambda$isBlacklisted$1]   JENKINS-49573: attempt to (de-)serialize anonymous class org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue$2 in file:/var/lib/jenkins/plugins/pipeline-model-api/WEB-INF/lib/pipeline-model-api.jar
      

          [JENKINS-49976] Serialization of ModelASTValue$1 / $2

          Andrew Bayer added a comment -

          PR up getting rid of the anonymous inner classes at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/252

          Andrew Bayer added a comment - PR up getting rid of the anonymous inner classes at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/252

          Andrew Bayer added a comment -

          Merged, this'll be in Declarative 1.2.8.

          Andrew Bayer added a comment - Merged, this'll be in Declarative 1.2.8.

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTValue.java
          http://jenkins-ci.org/commit/pipeline-model-definition-plugin/ece602dbe1af2e7c0930e36d610f8147c6bb03ac
          Log:
          [FIXED JENKINS-49976] Get rid of ModelASTValue anonymous classes

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: pipeline-model-api/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/ast/ModelASTValue.java http://jenkins-ci.org/commit/pipeline-model-definition-plugin/ece602dbe1af2e7c0930e36d610f8147c6bb03ac Log: [FIXED JENKINS-49976] Get rid of ModelASTValue anonymous classes

          Damien Jiang added a comment -

          This change appears to have caused a lot of "CannotResolveClassException: org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue$1" warnings to show up for old WorkflowRun objects in /adminstrativeMonitor/OldData/manage ; is it okay to discard all the data here?

          Damien Jiang added a comment - This change appears to have caused a lot of "CannotResolveClassException: org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue$1" warnings to show up for old WorkflowRun objects in /adminstrativeMonitor/OldData/manage ; is it okay to discard all the data here?

          Andrew Bayer added a comment -

          Yeah, that'll be fine.

          Andrew Bayer added a comment - Yeah, that'll be fine.

          Damien Jiang added a comment -

          Thanks!

          Damien Jiang added a comment - Thanks!

          Damien Jiang added a comment -

          I noticed that more "old data" warnings are still being generated; is one of my plugins out of date and generating old datatypes? When will we stop getting these warnings?

          Damien Jiang added a comment - I noticed that more "old data" warnings are still being generated; is one of my plugins out of date and generating old datatypes? When will we stop getting these warnings?

          (JFYI: I am neither seeing the warning logs anymore – the last entry was on 11.04.2018, nor any "old data" warning.)

          Reinhold Füreder added a comment - (JFYI: I am neither seeing the warning logs anymore – the last entry was on 11.04.2018, nor any "old data" warning.)

          Liam Newman added a comment -

          Bulk closing resolved issues.

          Liam Newman added a comment - Bulk closing resolved issues.

            abayer Andrew Bayer
            reinholdfuereder Reinhold Füreder
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: