Project: Tomcat
Bug 48135 ServiceRefFactory: impossible null check of serviceInterfaceClass
Reported: 2009-11-05 03:34:18 | Status: resolved fixed

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.

Files changed in fix:
java/org/apache/naming/factory/webservices/ServiceProxy.java java/org/apache/naming/factory/webservices/ServiceRefFactory.java