Skip to content
Permalink
Browse files
[CXFXJC-22] Make sure we don't create new W3CEndpointReference object…
…s (no default constructor)
  • Loading branch information
dkulp committed Aug 8, 2017
1 parent 1336710 commit 1eebd55a5cde0f7683c76f0bdfa1011f805f6ee8
Showing 1 changed file with 2 additions and 1 deletion.
@@ -202,7 +202,8 @@ public boolean run(Outline outline, Options opt, ErrorHandler errorHandler) {
|| isElementRequired(particle))) {
String varName = f.getPropertyInfo().getName(false);
JFieldVar var = co.implClass.fields().get(varName);
if (var != null) {
if (var != null
&& !"javax.xml.ws.wsaddressing.W3CEndpointReference".equals(f.getRawType().fullName())) {
var.init(JExpr._new(f.getRawType()));
}
}

0 comments on commit 1eebd55

Please sign in to comment.