8186441: Change of behavior in the getMessage () method of the SOAPMessageContextImpl class jdk8u172-b01

Sat, 02 Dec 2017 14:27:37 +0000

author
aefimov
date
Sat, 02 Dec 2017 14:27:37 +0000
changeset 1550
c4309a2d981b
parent 1549
a0a22040bf4d
child 1551
703e4709edae
child 1624
0d863acaa0ec

8186441: Change of behavior in the getMessage () method of the SOAPMessageContextImpl class
Reviewed-by: lancea

src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SaajStaxWriter.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SaajStaxWriter.java	Tue Oct 24 13:16:10 2017 -0700
     1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/message/saaj/SaajStaxWriter.java	Sat Dec 02 14:27:37 2017 +0000
     1.3 @@ -492,7 +492,7 @@
     1.4                      }
     1.5                      // add namespace declarations
     1.6                      for (NamespaceDeclaration namespace : this.namespaceDeclarations) {
     1.7 -                        target.addNamespaceDeclaration(namespace.prefix, namespace.namespaceUri);
     1.8 +                        newElement.addNamespaceDeclaration(namespace.prefix, namespace.namespaceUri);
     1.9                      }
    1.10                      // add attribute declarations
    1.11                      for (AttributeDeclaration attribute : this.attributeDeclarations) {

mercurial