Skip to content

Commit 1ff6b16

Browse files
Merge pull request #797 from cortlepp/fix/AXIS2-6043
fix: possible infinite recursion in Options.getSoapVersionURI (#AXIS2-6043)
2 parents 093ea86 + 6e2b4cb commit 1ff6b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/kernel/src/org/apache/axis2/client/Options.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ public TransportOutDescription getTransportOut() {
486486
* @return version
487487
*/
488488
public String getSoapVersionURI() {
489-
if (soapVersionURI == null && parent != null) {
489+
if (soapVersionURI == null && parent != null && this != parent) {
490490
return parent.getSoapVersionURI();
491491
}
492492

0 commit comments

Comments
 (0)