Reviewer needed for 8022753: SQLXML example typo in the SQLXML javadoc

Alan Bateman Alan.Bateman at oracle.com
Mon Aug 12 18:15:53 UTC 2013


On 12/08/2013 19:05, Lance Andersen - Oracle wrote:
> Hi all,
>
> Need a reviewer for the following trivial javadoc typo.  Bug is 8022753
>
> Best
> Lance
This looks fine to me.

-Alan


>
>
> hg diff SQLXML.java
> diff -r a4eb59bffb60 src/share/classes/java/sql/SQLXML.java
> --- a/src/share/classes/java/sql/SQLXML.java	Sat Jun 29 06:12:28 2013 -0400
> +++ b/src/share/classes/java/sql/SQLXML.java	Mon Aug 12 13:59:31 2013 -0400
> @@ -98,7 +98,7 @@
>    * or, to set the result value from SAX events:
>    *<pre>
>    *   SAXResult saxResult = sqlxml.setResult(SAXResult.class);
> - *   ContentHandler contentHandler = saxResult.getXMLReader().getContentHandler();
> + *   ContentHandler contentHandler = saxResult.getHandler();
>    *   contentHandler.startDocument();
>    *   // set the XML elements and attributes into the result
>    *   contentHandler.endDocument();
>
>
> 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