RFR(JDK12/JAXP/java.xml) 8204329: Java API doc for XMLStreamReader.next() needs to be clarified for the exception thrown when hasNext() method returns false

Joe Wang huizhe.wang at oracle.com
Mon Jul 2 17:44:12 UTC 2018


Hi,

Please review a patch that clarifies that XMLStreamReader.next() throws 
NoSuchElementException when hasNext() is false by removing the confusing 
note.

JBS: https://bugs.openjdk.java.net/browse/JDK-8204329
CSR: https://bugs.openjdk.java.net/browse/JDK-8206084
webrevs: http://cr.openjdk.java.net/~joehw/jdk12/8204329/webrev/

Thanks,
Joe


More information about the core-libs-dev mailing list