Argument switcharoo in SAXDocumentSerializer

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: xml
    • None

      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 {

            Assignee:
            Aleksej Efimov
            Reporter:
            Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: