8186441: Change of behavior in the getMessage () method of the SOAPMessageContextImpl class jdk8u152-b34

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

author
aefimov
date
Sat, 02 Dec 2017 14:27:37 +0000
changeset 1561
46562ec770e7
parent 1560
89658eba580a
child 1562
47bd39412b2f

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 Nov 14 13:11:55 2017 -0800
     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