Default JNDI name for annotation lookup should be based on the class where the annota...
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Oct 2008 09:11:55 +0000 (09:11 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Oct 2008 09:11:55 +0000 (09:11 +0000)
commitbe8ca128e4b67aa99e068ff408fafeddc8104510
tree31141c345fe56dd30084417f2c792a9a52ae22e8
parent1ffe6a0c889dc7d27c4da835a3857a10a100407e
Default JNDI name for annotation lookup should be based on the class where the annotation was found which isn't always the class of the instance being created.
Reported as part of the follow-up to https://issues.apache.org/bugzilla/show_bug.cgi?id=45285
Based on a patch for 6.0.x provided by Florent BENOIT.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@706159 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/core/DefaultInstanceManager.java