Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-13210

TomcatInstrumentableClassLoader should support Tomcat 7.0.63+ as well

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 4.1.7
    • Fix Version/s: 4.2 RC3
    • Component/s: Core:AOP
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      TomcatInstrumentableClassLoader in spring-instrument-tomcat contains a method override:

      @Override
      protected ResourceEntry findResourceInternal(String name, String path) {
          ...
      }
      

      which in Tomcat 7.0.63 no longer exists. Another parameter has been added, and the method signature is now:

      protected ResourceEntry findResourceInternal(String name, String path, boolean manifestRequired)
      

      (see http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_63/java/org/apache/catalina/loader/WebappClassLoader.java)

      The "overridden" method is never called, so the weaving process fails silently. Issue does not reproduce on Tomcat 7.0.62.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              emill Emil Lundström
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 19 weeks, 1 day ago