# HG changeset patch # User lancea # Date 1376338164 14400 # Node ID 044bdfe2b361ec3a397b5cea010c0d9bdae969b4 # Parent 188246066dbb6e893121ad38fb0dbade8597cc6c 8022753: SQLXML javadoc example typo Reviewed-by: alanb, mchung diff -r 188246066dbb -r 044bdfe2b361 jdk/src/share/classes/java/sql/SQLXML.java --- a/jdk/src/share/classes/java/sql/SQLXML.java Mon Aug 12 12:11:04 2013 -0700 +++ b/jdk/src/share/classes/java/sql/SQLXML.java Mon Aug 12 16:09:24 2013 -0400 @@ -98,7 +98,7 @@ * or, to set the result value from SAX events: *
  *   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();