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

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

    • 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.

          [JENKINS-5427] hudson.init.Initializer annotation does not work from within plugins

          Andrew Bayer created issue -
          Andrew Bayer made changes -
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135516 ] New: JNJira + In-Review [ 186988 ]

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

              Created:
              Updated:
              Resolved: