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

hudson.init.Initializer annotation does not work from within plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None

      So far as I can tell, the classloader used for searching for @Initializer annotations is constructed before the plugins are available, so it doesn't search plugin classes. As a result, one can't use @Initializer for any phase in plugins. It'd be handy if there was a way to do this - or a second annotation, say, @PluginInitializer, which did search plugins.

            Unassigned Unassigned
            abayer Andrew Bayer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: