JDK 9 RFR of JDK-8130716: Fix reference problems in jaxp javadoc

Lance Andersen lance.andersen at oracle.com
Tue Jul 7 22:17:12 UTC 2015


looks ok Joe
On Jul 7, 2015, at 6:14 PM, joe darcy <joe.darcy at oracle.com> wrote:

> Hello,
> 
> Please review the small patch below to address
> 
>     JDK-8130716: Fix reference problems in jaxp javadoc
> 
> Thanks,
> 
> -Joe
> 
> diff -r 39ac2a55f28d src/java.xml/share/classes/javax/xml/stream/XMLEventReader.java
> --- a/src/java.xml/share/classes/javax/xml/stream/XMLEventReader.java Tue Jul 07 18:19:57 2015 +0200
> +++ b/src/java.xml/share/classes/javax/xml/stream/XMLEventReader.java Tue Jul 07 15:13:48 2015 -0700
> @@ -49,7 +49,7 @@
>    * Get the next XMLEvent
>    * @see XMLEvent
>    * @throws XMLStreamException if there is an error with the underlying XML.
> -   * @throws NoSuchElementException iteration has no more elements.
> +   * @throws java.util.NoSuchElementException iteration has no more elements.
>    */
>   public XMLEvent nextEvent() throws XMLStreamException;
> 
> diff -r 39ac2a55f28d src/java.xml/share/classes/javax/xml/stream/events/XMLEvent.java
> --- a/src/java.xml/share/classes/javax/xml/stream/events/XMLEvent.java Tue Jul 07 18:19:57 2015 +0200
> +++ b/src/java.xml/share/classes/javax/xml/stream/events/XMLEvent.java Tue Jul 07 15:13:48 2015 -0700
> @@ -170,7 +170,7 @@
>    * infoset expressed.
>    *
>    * @param writer The writer that will output the data
> -   * @throws XMLStreamException if there is a fatal error writing the event
> +   * @throws javax.xml.stream.XMLStreamException if there is a fatal error writing the event
>    */
>   public void writeAsEncodedUnicode(Writer writer)
>     throws javax.xml.stream.XMLStreamException;



Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com






More information about the core-libs-dev mailing list