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

Jenkins#getInstallState should not be restricted

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.136

      Jenkins#getInstallState and Jenkins#setInstallState are @Restricted however they are part of a public API/ExtensionPoint (see InstallState).

      This is causing troubles on extensions which need to read/write this field. Actually, some extensions of that API live in core and they are using the restricted ones, why external extensions would not be able to use it?

          [JENKINS-52718] Jenkins#getInstallState should not be restricted

          Oleg Nenashev added a comment -

          Released in Jenkins 2.136. IIUC we cannot backport the change since it modifies the API. amuniz is it fine with you?

           

          Oleg Nenashev added a comment - Released in Jenkins 2.136. IIUC we cannot backport the change since it modifies the API. amuniz is it fine with you?  

          Yes, it's ok. However this is not really a breaking change in the API.

          Antonio Muñiz added a comment - Yes, it's ok. However this is not really a breaking change in the API.

            amuniz Antonio Muñiz
            amuniz Antonio Muñiz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: