1.1 --- a/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java Tue Apr 24 12:17:05 2018 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/api/streaming/XMLStreamWriterFactory.java Mon Apr 23 13:24:44 2018 +0100 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -386,7 +386,7 @@ 1.11 1.12 } 1.13 1.14 - private static class HasEncodingWriter extends XMLStreamWriterFilter implements HasEncoding { 1.15 + public static class HasEncodingWriter extends XMLStreamWriterFilter implements HasEncoding { 1.16 private final String encoding; 1.17 1.18 HasEncodingWriter(XMLStreamWriter writer, String encoding) { 1.19 @@ -399,7 +399,7 @@ 1.20 return encoding; 1.21 } 1.22 1.23 - XMLStreamWriter getWriter() { 1.24 + public XMLStreamWriter getWriter() { 1.25 return writer; 1.26 } 1.27 }