Open LanceAndersen opened 6 years ago
Previously reported at https://bugs.openjdk.java.net/browse/JDK-8178400
As found by errorprone, the args (or the arg variable names) to encodeDocumentTypeDeclaration appear to be switched:
$ pwd; grep -r encodeDocumentTypeDeclaration . .../jdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/fastinfoset ./sax/SAXDocumentSerializer.java: encodeDocumentTypeDeclaration(publicId, systemId); ./Encoder.java: protected final void encodeDocumentTypeDeclaration(String systemId, String publicId) throws IOException {
Previously reported at https://bugs.openjdk.java.net/browse/JDK-8178400
As found by errorprone, the args (or the arg variable names) to encodeDocumentTypeDeclaration appear to be switched:
$ pwd; grep -r encodeDocumentTypeDeclaration . .../jdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/fastinfoset ./sax/SAXDocumentSerializer.java: encodeDocumentTypeDeclaration(publicId, systemId); ./Encoder.java: protected final void encodeDocumentTypeDeclaration(String systemId, String publicId) throws IOException {