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

java8 time classes cannot be sent between master and slave

    • Jenkins 2.132

      The java.time.* classes introduced with Java 8 use java.time.Ser to serialize/deserialize them.

      As a plugin developer, when I try to transfer java.time.Instant objects, I get the attached stacktrace.

      While I can add this class to my own plugin's hudson.remoting.ClassFilter , the instructions at https://jenkins.io/blog/2018/01/13/jep-200/ tell me to create a PullRequest if the class is defined in Java Platform.

      Here it is: https://github.com/jenkinsci/jenkins/pull/3542

       

       

          [JENKINS-52534] java8 time classes cannot be sent between master and slave

          Martin Bickel created issue -
          Martin Bickel made changes -
          Description Original: The java.time.* classes introduced with Java 8 use java.time.Ser to serialize/deserialize them.

          As a plugin developer, when I try t to transfer java.time.Instant objects, I get the attached stacktrace.

          While I can add this class to my own plugin's hudson.remoting.ClassFilter , the instructions at [https://jenkins.io/blog/2018/01/13/jep-200/] tell me to create a PullRequest if the class is defined in Java Platform.

          Here it is: [https://github.com/jenkinsci/jenkins/pull/3542]

           

           
          New: The java.time.* classes introduced with Java 8 use java.time.Ser to serialize/deserialize them.

          As a plugin developer, when I try to transfer java.time.Instant objects, I get the attached stacktrace.

          While I can add this class to my own plugin's hudson.remoting.ClassFilter , the instructions at [https://jenkins.io/blog/2018/01/13/jep-200/] tell me to create a PullRequest if the class is defined in Java Platform.

          Here it is: [https://github.com/jenkinsci/jenkins/pull/3542]

           

           
          Oleg Nenashev made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Oleg Nenashev made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Oleg Nenashev made changes -
          Issue Type Original: Patch [ 5 ] New: Improvement [ 4 ]
          Oleg Nenashev made changes -
          Labels Original: JEP-200 New: JEP-200 lts-candidate
          Oleg Nenashev made changes -
          Released As New: Jenkins 2.132
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Oliver Gondža made changes -
          Labels Original: JEP-200 lts-candidate New: 2.121.3-fixed JEP-200

            oleg_nenashev Oleg Nenashev
            mbickel Martin Bickel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: