https://issues.apache.org/bugzilla/show_bug.cgi?id=49235
Summary: ServletContainerInitializer onStartup(Set<Class<?>>
classSet is not expect class
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
I builder tomcat 7.0.0 from svn r939221
below is my code:
@MySomeAnn
public class MySomeClass{...}
@HandlesTypes(MySomeAnn.class)
public class ModuleInitializer implements ServletContainerInitializer
{
@Override
public void onStartup(Set> classSet, ServletContext ctx) throws
ServletException
{
for (Class targetClass : classSet)
{
System.out.println(targetClass.getName());
...
Here output is "MySomeAnn". But I expect output "MySomeClass".
It's not yet imp Servlet 3.0 spec.
My code work fine on Glassfish 3.0. The output is "MySomeClass".
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]