tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48135] New: ServiceRefFactory: impossible null check of serviceInterfaceClass
Date Thu, 05 Nov 2009 11:34:19 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48135

           Summary: ServiceRefFactory: impossible null check of
                    serviceInterfaceClass
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: sebb@apache.org


The ServiceRefFactory class performs an impossible null check of
serviceInterfaceClass at line 238:

237: Class[] serviceInterfaces = serviceInterfaceClass.getInterfaces();
238: if (serviceInterfaceClass != null) {

If it were null, line 237 would generate an NPE.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message