I just did an mvn clean for the first time in a long time. testBug305773
in CodeGenBugTest fails. I can't see how it can succeed.
Here's the assert that fails.
Class clz =
classLoader.loadClass("org.apache.hello_world_soap_http.GreeterImpl");
WebService webServiceAnn =
AnnotationUtil.getPrivClassAnnotation(clz, WebService.class);
assertEquals("Greeter", webServiceAnn.name());
Here's the current, checked in, contents of GreeterImpl:
@WebService(serviceName = "SOAPService",
portName = "SoapPort",
endpointInterface =
"org.apache.hello_world_soap_http.Greeter",
targetNamespace = "http://apache.org/hello_world_soap_http",
wsdlLocation = "testutils/hello_world.wsdl")
public class GreeterImpl implements Greeter
Is this test generating a different version of that class?