PluginFirstClassLoaders don't work with GroovyClassLoader.loadClass for .groovy files

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      This was uncovered in the context of https://github.com/jenkinsci/kubernetes-plugin/pull/127 - PluginFirstClassLoader.findResource always returns null, which seems to result in CpsScript.getClass().getClassLoader().loadClass("some.class.in.resources.groovy") failing (for that matter, UberClassLoader.findResource("some/file/from/a/PluginFirstClassLoader") always returns null, which I'm guessing is the problem). Needs more investigation to figure out exactly what's happening here.

            Assignee:
            Andrew Bayer
            Reporter:
            Andrew Bayer
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: