Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Argument switcharoo in SAXDocumentSerializer #1217

Open
LanceAndersen opened this issue Apr 12, 2018 · 0 comments
Open

Argument switcharoo in SAXDocumentSerializer #1217

LanceAndersen opened this issue Apr 12, 2018 · 0 comments

Comments

@LanceAndersen
Copy link

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 {

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant