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

RemoteClassLoader does not persist retrieved classes with package structure

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      When running a build on a remote node, the RemoteClassLoader on the node will retrieve classes over the
      network from the Hudson master and persist them locally.

      The problem is that a class's package structure is not created in the filesystem, so a class with the
      resource name "x/y/Z.class" will be persisted as "Z.class". This creates problems for example with code
      that uses one of its own classes to find where it is located on the local disk, like Ant initialization.

          [JENKINS-4657] RemoteClassLoader does not persist retrieved classes with package structure

          Created an attachment (id=950)
          Changes the RemoteClassLoader to persist retreived classes with package structure on local disk

          Stig Kleppe-Jørgensen added a comment - Created an attachment (id=950) Changes the RemoteClassLoader to persist retreived classes with package structure on local disk

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/remoting/src/main/java/hudson/remoting/RemoteClassLoader.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=22994
          Log:
          [FIXED JENKINS-4657] in .1330.
          RemoteClassLoader does not persist retrieved classes with package structure
          (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=4657">issue 4657</a>)

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/remoting/src/main/java/hudson/remoting/RemoteClassLoader.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=22994 Log: [FIXED JENKINS-4657] in .1330. RemoteClassLoader does not persist retrieved classes with package structure (<a href="https://hudson.dev.java.net/issues/show_bug.cgi?id=4657">issue 4657</a>)

            Unassigned Unassigned
            stigkj Stig Kleppe-Jørgensen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: