• Icon: Task Task
    • Resolution: Fixed
    • Icon: Major Major
    • core

      JENKINS-34857 tracks an abortive attempt to make Jenkins.getInstance throw IllegalStateException as it is documented to do. While fixes like JENKINS-48543 could make that possible, it is safer and more straightforward to have one nondeprecated method which is @CheckForNull (but rarely used) and one nondeprecated method which is @Nonnull (and recommended for most callers).

          [JENKINS-48638] Simplified/clarified Jenkins.getInstance

          Jesse Glick created issue -
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-34857 [ JENKINS-34857 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-48543 [ JENKINS-48543 ]
          Jesse Glick made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Jesse Glick made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Jesse Glick made changes -
          Remote Link New: This issue links to "PR 3195 (Web Link)" [ 19501 ]
          Jesse Glick made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: