eclipse-ee4j / eclipse-ee4j/jaxb-fi

Argument switcharoo in SAXDocumentSerializer

Open
#116 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
12
Forks
9
Avg merge
1d 15h
Merged PRs (30d)
3

Description

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 {

Source: [https://github.com/javaee/metro-jax-ws/issues/1217](https://github.com/javaee/metro-jax-ws/issues/1217)
Author: LanceAndersen

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.