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

Upgrade xstream to 1.4.2

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: other
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      xstream before 1.4 does not support Java 7. See :
      http://old.nabble.com/JAVA-7-compatibility-problem-td32165843.html

      and current change log:
      http://xstream.codehaus.org/changes.html

      This is causing me problems as I cannot read files from within a plugin that are created with xstream 1.4.2 since they are incompatible with the current 1.3.1 version. And reverting the program creating the file to 1.3.1 is not possible as this will lose Java 7 support.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Kohsuke Kawaguchi
            Path:
            changelog.html
            core/pom.xml
            core/src/main/java/hudson/util/RobustReflectionConverter.java
            core/src/main/java/hudson/util/StringConverter2.java
            core/src/main/java/hudson/util/XStream2.java
            core/src/main/java/hudson/util/xstream/MapperDelegate.java
            core/src/test/java/hudson/util/CopyOnWriteMapTest.java
            http://jenkins-ci.org/commit/jenkins/319372b88749b683649549ea52730dac2fc0a8aa
            Log:
            [FIXED JENKINS-12542] upgraded to XStream 1.4.4

            There are several incompatibilities in XStream 1.4 that resulted in our
            changing the core, but according to the text search on all the public
            plugins, none of these changes affect the 600+ plugins we have today.

            However, it is still possible that there are some parts of XStream 1.3
            that plugins depend on but the core doesn't depend on — we won't be
            able to tell those problems at this point.


            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+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Kohsuke Kawaguchi Path: changelog.html core/pom.xml core/src/main/java/hudson/util/RobustReflectionConverter.java core/src/main/java/hudson/util/StringConverter2.java core/src/main/java/hudson/util/XStream2.java core/src/main/java/hudson/util/xstream/MapperDelegate.java core/src/test/java/hudson/util/CopyOnWriteMapTest.java http://jenkins-ci.org/commit/jenkins/319372b88749b683649549ea52730dac2fc0a8aa Log: [FIXED JENKINS-12542] upgraded to XStream 1.4.4 There are several incompatibilities in XStream 1.4 that resulted in our changing the core, but according to the text search on all the public plugins, none of these changes affect the 600+ plugins we have today. However, it is still possible that there are some parts of XStream 1.3 that plugins depend on but the core doesn't depend on — we won't be able to tell those problems at this point. – 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+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #2301
            [FIXED JENKINS-12542] upgraded to XStream 1.4.4 (Revision 319372b88749b683649549ea52730dac2fc0a8aa)

            Result = SUCCESS
            kohsuke : 319372b88749b683649549ea52730dac2fc0a8aa
            Files :

            • core/src/test/java/hudson/util/CopyOnWriteMapTest.java
            • core/src/main/java/hudson/util/XStream2.java
            • core/pom.xml
            • core/src/main/java/hudson/util/xstream/MapperDelegate.java
            • core/src/main/java/hudson/util/RobustReflectionConverter.java
            • core/src/main/java/hudson/util/StringConverter2.java
            • changelog.html
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #2301 [FIXED JENKINS-12542] upgraded to XStream 1.4.4 (Revision 319372b88749b683649549ea52730dac2fc0a8aa) Result = SUCCESS kohsuke : 319372b88749b683649549ea52730dac2fc0a8aa Files : core/src/test/java/hudson/util/CopyOnWriteMapTest.java core/src/main/java/hudson/util/XStream2.java core/pom.xml core/src/main/java/hudson/util/xstream/MapperDelegate.java core/src/main/java/hudson/util/RobustReflectionConverter.java core/src/main/java/hudson/util/StringConverter2.java changelog.html
            Hide
            bap bap added a comment -

            This has possibly broken the global configuration for all of the publish-over plugins.

            Note: I have not looked at any code yet, but I have 2 bugs related to global configuration data not loading after upgrading to Jenkins 1.504

            Show
            bap bap added a comment - This has possibly broken the global configuration for all of the publish-over plugins. Note: I have not looked at any code yet, but I have 2 bugs related to global configuration data not loading after upgrading to Jenkins 1.504

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              johnoil John Oliver
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: