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

Stapler file resolution uses parent class loader but should use child classloader

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Postponed
    • Component/s: dry-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Situation:

      plugin 1:

      • has file /tabview/warnings.jelly

      plugin 2 depends on plugin 1 classes:

      • has file /tabview/warnings.jelly

      When Object 2 that derives from Object 1 loads the jelly /tabview/warnings.jelly then the jelly from plugin 1 is picked.

      For details see JENKINS-5034.

        Attachments

          Activity

          drulli Ulli Hafner created issue -
          drulli Ulli Hafner made changes -
          Field Original Value New Value
          Description In the new Version 2.0 I can no more see where the code is copied from, I only see which code segment is copied. Situation:

          plugin 1:
          - has file /tabview/warnings.jelly

          plugin 2 depends on plugin 1 classes:
          - has file /tabview/warnings.jelly

          When Object 2 that derives from Object 1 loads the jelly /tabview/warnings.jelly then the jelly from plugin is picked.

          For details see JENKINS-5034.
          drulli Ulli Hafner made changes -
          Description Situation:

          plugin 1:
          - has file /tabview/warnings.jelly

          plugin 2 depends on plugin 1 classes:
          - has file /tabview/warnings.jelly

          When Object 2 that derives from Object 1 loads the jelly /tabview/warnings.jelly then the jelly from plugin is picked.

          For details see JENKINS-5034.
          Situation:

          plugin 1:
          - has file /tabview/warnings.jelly

          plugin 2 depends on plugin 1 classes:
          - has file /tabview/warnings.jelly

          When Object 2 that derives from Object 1 loads the jelly /tabview/warnings.jelly then the jelly from plugin 1 is picked.

          For details see JENKINS-5034.
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 136388 ] JNJira + In-Review [ 174494 ]
          drulli Ulli Hafner made changes -
          Resolution Postponed [ 6 ]
          Status Open [ 1 ] Closed [ 6 ]

            People

            Assignee:
            kohsuke Kohsuke Kawaguchi
            Reporter:
            drulli Ulli Hafner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: