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

      After SECURITY-429 Jenkins core is using reflection on ClassFilter to add to the default blacklist, which is unmaintainable. Should use a supportable API.

          [JENKINS-45522] Use of reflection to adjust ClassFilter.DEFAULT

          Oleg Nenashev added a comment -

          Created another PR on the top of the change by jglick: https://github.com/jenkinsci/remoting/pull/185

          Oleg Nenashev added a comment - Created another PR on the top of the change by jglick : https://github.com/jenkinsci/remoting/pull/185

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/remoting/ClassFilter.java
          src/test/java/hudson/remoting/DefaultClassFilterTest.java
          http://jenkins-ci.org/commit/remoting/62f321366135550307de124da9f6412ff7cf28be
          Log:
          JENKINS-45522 - Modify API in order to propagate error in ClassFilter

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/ClassFilter.java src/test/java/hudson/remoting/DefaultClassFilterTest.java http://jenkins-ci.org/commit/remoting/62f321366135550307de124da9f6412ff7cf28be Log: JENKINS-45522 - Modify API in order to propagate error in ClassFilter

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/remoting/ClassFilter.java
          http://jenkins-ci.org/commit/remoting/158c2495e0e1a58b57eb2d5f79af03753eb4dbeb
          Log:
          JENKINS-45522 - Address comments from @jglick

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/ClassFilter.java http://jenkins-ci.org/commit/remoting/158c2495e0e1a58b57eb2d5f79af03753eb4dbeb Log: JENKINS-45522 - Address comments from @jglick

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/test/java/hudson/remoting/DefaultClassFilterTest.java
          http://jenkins-ci.org/commit/remoting/150e433e53a0c761a3f85cfc33bab49ab5fbbec5
          Log:
          JENKINS-45522 Fix the bogus whitespace noticed by @jglick

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/test/java/hudson/remoting/DefaultClassFilterTest.java http://jenkins-ci.org/commit/remoting/150e433e53a0c761a3f85cfc33bab49ab5fbbec5 Log: JENKINS-45522 Fix the bogus whitespace noticed by @jglick

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/hudson/remoting/ClassFilter.java
          src/test/java/hudson/remoting/DefaultClassFilterTest.java
          http://jenkins-ci.org/commit/remoting/a052a5ac45b38ea8a6e993674d1f15eeba831b0d
          Log:
          Merge pull request #185 from oleg-nenashev/feature/JENKINS-45522-ClassFilter.appendDefaultFilter

          JENKINS-45522 - Introduce ClassFilter.appendDefaultFilter

          Compare: https://github.com/jenkinsci/remoting/compare/15e28c2a97fa...a052a5ac45b3

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/hudson/remoting/ClassFilter.java src/test/java/hudson/remoting/DefaultClassFilterTest.java http://jenkins-ci.org/commit/remoting/a052a5ac45b38ea8a6e993674d1f15eeba831b0d Log: Merge pull request #185 from oleg-nenashev/feature/ JENKINS-45522 -ClassFilter.appendDefaultFilter JENKINS-45522 - Introduce ClassFilter.appendDefaultFilter Compare: https://github.com/jenkinsci/remoting/compare/15e28c2a97fa...a052a5ac45b3

          Oleg Nenashev added a comment -

          The fix has been integrated towards Remoting 3.11 and Jenkins 2.76

          Oleg Nenashev added a comment - The fix has been integrated towards Remoting 3.11 and Jenkins 2.76

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

              Created:
              Updated:
              Resolved: