RFR(JDK12/JAXP/java.xml) 8194680: StartElement#getAttributes and getNamespaces refer to incorrect package

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Jul 10 23:39:37 UTC 2018



On 7/10/18 4:27 PM, Joe Wang wrote:
> Hi,
>
> Please review a javadoc fix for a couple of incorrect references to 
> the javax.xml.stream package. Attribute and Namespace are both in the 
> javax.xml.stream.events, and so is StartElement where they are 
> referenced.
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8194680
> webrevs: http://cr.openjdk.java.net/~joehw/jdk12/8194680/webrev/
>
> Thanks,
> Joe
The following text does not read well:

54 * Attributes are fundamentally unordered and may not be reported
   55    * in any order.

It would read better if it said:

54 * Attributes are fundamentally unordered and may be reported
   55    * in any order.

(i.e. delete "not")

-- Jon



More information about the core-libs-dev mailing list