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

replace sun.misc.BASE64Decoder and sun.misc.BASE64Encoder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      The perforce plugin currently uses the Encoder and Decoder classes for sun.misc.
      Please replace with code utilizing another implementation such as apache
      commons (http://commons.apache.org/codec/).

      This code is depreciated and Sun warns to not use this code base.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : javadude
          Path:
          trunk/hudson/plugins/perforce/pom.xml
          trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforcePasswordEncryptor.java
          trunk/hudson/plugins/perforce/src/test/java/hudson/plugins/perforce/PerforcePasswordEncryptorTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=25370
          Log:
          Fixed bug JENKINS-4446 which involved changing base64 encode/decode calls to use apache
          commons codec classes instead of the verboten sun.misc classes. This plugin now depends on commons-codec 1.4.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : javadude Path: trunk/hudson/plugins/perforce/pom.xml trunk/hudson/plugins/perforce/src/main/java/hudson/plugins/perforce/PerforcePasswordEncryptor.java trunk/hudson/plugins/perforce/src/test/java/hudson/plugins/perforce/PerforcePasswordEncryptorTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=25370 Log: Fixed bug JENKINS-4446 which involved changing base64 encode/decode calls to use apache commons codec classes instead of the verboten sun.misc classes. This plugin now depends on commons-codec 1.4.
          Hide
          javadude Carl Quinn added a comment -

          Fixed in Committed revision 25370 which should be available in the next plugin release: 1.0.17.

          Show
          javadude Carl Quinn added a comment - Fixed in Committed revision 25370 which should be available in the next plugin release: 1.0.17.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : rpetti
          Path:
          branches/perforce-p4java/pom.xml
          branches/perforce-p4java/src/main/java/hudson/plugins/perforce/PerforcePasswordEncryptor.java
          branches/perforce-p4java/src/test/java/hudson/plugins/perforce/PerforcePasswordEncryptorTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=25426
          Log:
          porting fix from JENKINS-4446

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : rpetti Path: branches/perforce-p4java/pom.xml branches/perforce-p4java/src/main/java/hudson/plugins/perforce/PerforcePasswordEncryptor.java branches/perforce-p4java/src/test/java/hudson/plugins/perforce/PerforcePasswordEncryptorTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=25426 Log: porting fix from JENKINS-4446

            People

            • Assignee:
              javadude Carl Quinn
              Reporter:
              goldgriff goldgriff
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: