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

java8 time classes cannot be sent between master and slave

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.132

      Description

      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

       

       

        Attachments

          Activity

          mbickel Martin Bickel created issue -
          mbickel Martin Bickel made changes -
          Field Original Value New Value
          Description 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]

           

           
          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 Oleg Nenashev made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          oleg_nenashev Oleg Nenashev made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          oleg_nenashev Oleg Nenashev made changes -
          Issue Type Patch [ 5 ] Improvement [ 4 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels JEP-200 JEP-200 lts-candidate
          oleg_nenashev Oleg Nenashev made changes -
          Status In Review [ 10005 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Released As Jenkins 2.132
          olivergondza Oliver Gondža made changes -
          Labels JEP-200 lts-candidate 2.121.3-fixed JEP-200

            People

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

              Dates

              • Created:
                Updated:
                Resolved: