Skip to content

TomcatInstrumentableClassLoader should support Tomcat 7.0.63+ as well [SPR-13210] #17802

Closed
@spring-projects-issues

Description

@spring-projects-issues

Emil Lundström opened SPR-13210 and commented

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.


Affects: 4.1.7

Issue Links:

Referenced from: commits 08fb625, 37f74e7

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions