Re: svn commit: r1345580 - in /tomcat/trunk/java/org/apache/catalina/deploy: LocalStrings.properties NamingResources.java

2012-06-04 Thread Mark Thomas
On 03/06/2012 23:58, Mark Thomas wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: Does something guarantee that there is always common type among injection targets? Can there be two disjoint interfaces A and B, which are both implemented by a resource, so assignment to A or B

Re: svn commit: r1345580 - in /tomcat/trunk/java/org/apache/catalina/deploy: LocalStrings.properties NamingResources.java

2012-06-04 Thread Konstantin Kolinko
2012/6/4 Mark Thomas ma...@apache.org: On 03/06/2012 23:58, Mark Thomas wrote: Konstantin Kolinko knst.koli...@gmail.com wrote: Does something guarantee that there is always common type among injection targets? Can there be two disjoint interfaces A and B, which are both implemented by a

Re: svn commit: r1345580 - in /tomcat/trunk/java/org/apache/catalina/deploy: LocalStrings.properties NamingResources.java

2012-06-03 Thread Konstantin Kolinko
2012/6/3 ma...@apache.org: Author: markt Date: Sat Jun  2 21:18:53 2012 New Revision: 1345580 URL: http://svn.apache.org/viewvc?rev=1345580view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=5 Validate JNDI resource types against injection target types and use target

Re: svn commit: r1345580 - in /tomcat/trunk/java/org/apache/catalina/deploy: LocalStrings.properties NamingResources.java

2012-06-03 Thread Mark Thomas
Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/6/3 ma...@apache.org: Author: markt Date: Sat Jun  2 21:18:53 2012 New Revision: 1345580 URL: http://svn.apache.org/viewvc?rev=1345580view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=5 Validate JNDI resource

svn commit: r1345580 - in /tomcat/trunk/java/org/apache/catalina/deploy: LocalStrings.properties NamingResources.java

2012-06-02 Thread markt
Author: markt Date: Sat Jun 2 21:18:53 2012 New Revision: 1345580 URL: http://svn.apache.org/viewvc?rev=1345580view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=5 Validate JNDI resource types against injection target types and use target types when no type is specified