Branch: refs/heads/fix-JENKINS-68879
  Home:   https://github.com/jenkinsci/gerrit-code-review-plugin
  Commit: ecdf1a09c17171d20ee2fd30b70f5f61021913cf
      
https://github.com/jenkinsci/gerrit-code-review-plugin/commit/ecdf1a09c17171d20ee2fd30b70f5f61021913cf
  Author: Luca Milanesio <luca.milane...@gmail.com>
  Date:   2023-06-24 (Sat, 24 Jun 2023)

  Changed paths:
    M README.md
    M src/main/java/jenkins/plugins/gerrit/GerritEnvironmentContributor.java

  Log Message:
  -----------
  [JENKINS-68879] Avoid ChangeInfo serialisation to prevent JEP-200 issues

The JEP-200 has introduced stricter control on serialisation
which would require the explicit listing of all classes references
by ChangeInfo, including the internal implementation details of
the actual runtime classes of the Maps used in Gerrit Client APIs.

Prevent all the serialisation issues by resolving the extraction
of change-related variable names and store them in plain
Java's HashMaps of <String,String> for serialisation.

P.S. Even if Guava may have helped, use JVM-only provided classes
that won't require any class serialisation on the Jenkins agent
side.

Change-Id: I26c4a7c1a30c3845bb7620be7b9c963bbea62d47


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/gerrit-code-review-plugin/push/refs/heads/fix-JENKINS-68879/ebf211-ecdf1a%40github.com.

Reply via email to