8136494: Update "@since 1.9" to "@since 9" to match java.version.specification
Reviewed-by: alanb, chegar, lancea
--- a/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPath.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPath.java Tue Jan 19 20:29:11 2016 -0800
@@ -351,7 +351,7 @@
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
* @throws NullPointerException If {@code expression or type} is {@code null}.
*
- * @since 1.9
+ * @since 9
*/
default <T>T evaluateExpression(String expression, Object item, Class<T> type)
throws XPathExpressionException {
@@ -399,7 +399,7 @@
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
* @throws NullPointerException If {@code expression} is {@code null}.
*
- * @since 1.9
+ * @since 9
*/
default XPathEvaluationResult<?> evaluateExpression(String expression, Object item)
throws XPathExpressionException
@@ -445,7 +445,7 @@
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
* @throws NullPointerException If {@code expression, source or type}is {@code null}.
*
- * @since 1.9
+ * @since 9
*/
default <T>T evaluateExpression(String expression, InputSource source, Class<T> type)
throws XPathExpressionException
@@ -486,7 +486,7 @@
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
* @throws NullPointerException If {@code expression or source} is {@code null}.
*
- * @since 1.9
+ * @since 9
*/
default XPathEvaluationResult<?> evaluateExpression(String expression, InputSource source)
throws XPathExpressionException
--- a/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPathEvaluationResult.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPathEvaluationResult.java Tue Jan 19 20:29:11 2016 -0800
@@ -37,7 +37,7 @@
* @see <a href="http://www.w3.org/TR/xpath">XML Path Language (XPath) Version
* 1.0</a>
*
- * @since 1.9
+ * @since 9
*/
public interface XPathEvaluationResult<T> {
--- a/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPathExpression.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPathExpression.java Tue Jan 19 20:29:11 2016 -0800
@@ -246,7 +246,7 @@
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type is not available.
* @throws NullPointerException If {@code type} is {@code null}.
*
- * @since 1.9
+ * @since 9
*/
default <T>T evaluateExpression(Object item, Class<T> type)
throws XPathExpressionException
@@ -292,7 +292,7 @@
* does not support the
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
*
- * @since 1.9
+ * @since 9
*/
default XPathEvaluationResult<?> evaluateExpression(Object item)
throws XPathExpressionException
@@ -338,7 +338,7 @@
* is not available.
* @throws NullPointerException If {@code source or type} is {@code null}.
*
- * @since 1.9
+ * @since 9
*/
default <T>T evaluateExpression(InputSource source, Class<T> type)
throws XPathExpressionException
@@ -377,7 +377,7 @@
* {@link XPathEvaluationResult.XPathResultType#ANY ANY} type.
* @throws NullPointerException If {@code source} is {@code null}.
*
- * @since 1.9
+ * @since 9
*/
default XPathEvaluationResult<?> evaluateExpression(InputSource source)
throws XPathExpressionException
--- a/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPathNodes.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/javax/xml/xpath/XPathNodes.java Tue Jan 19 20:29:11 2016 -0800
@@ -33,7 +33,7 @@
* in <a href="http://www.w3.org/TR/xpath/#node-sets">XML Path Language (XPath)
* Version 1.0, 3.3 Node-sets</a>.
*
- * @since 1.9
+ * @since 9
*/
public interface XPathNodes extends Iterable<Node> {
--- a/jaxp/src/java.xml/share/classes/org/w3c/dom/ranges/DocumentRange.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/org/w3c/dom/ranges/DocumentRange.java Tue Jan 19 20:29:11 2016 -0800
@@ -43,7 +43,7 @@
/**
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
- * @since 1.9, DOM Level 2
+ * @since 9, DOM Level 2
*/
public interface DocumentRange {
/**
--- a/jaxp/src/java.xml/share/classes/org/w3c/dom/ranges/Range.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/org/w3c/dom/ranges/Range.java Tue Jan 19 20:29:11 2016 -0800
@@ -47,7 +47,7 @@
/**
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
- * @since 1.9, DOM Level 2
+ * @since 9, DOM Level 2
*/
public interface Range {
/**
--- a/jaxp/src/java.xml/share/classes/org/w3c/dom/ranges/RangeException.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/org/w3c/dom/ranges/RangeException.java Tue Jan 19 20:29:11 2016 -0800
@@ -45,7 +45,7 @@
* Range operations may throw a <code>RangeException</code> as specified in
* their method descriptions.
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
- * @since 1.9, DOM Level 2
+ * @since 9, DOM Level 2
*/
public class RangeException extends RuntimeException {
public RangeException(short code, String message) {
--- a/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/DocumentTraversal.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/DocumentTraversal.java Tue Jan 19 20:29:11 2016 -0800
@@ -53,7 +53,7 @@
* Traversal feature, <code>DocumentTraversal</code> will be implemented by
* the same objects that implement the Document interface.
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
- * @since 1.9, DOM Level 2
+ * @since 9, DOM Level 2
*/
public interface DocumentTraversal {
/**
--- a/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/NodeFilter.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/NodeFilter.java Tue Jan 19 20:29:11 2016 -0800
@@ -59,7 +59,7 @@
* filter may be used with a number of different kinds of traversals,
* encouraging code reuse.
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
- * @since 1.9, DOM Level 2
+ * @since 9, DOM Level 2
*/
public interface NodeFilter {
// Constants returned by acceptNode
--- a/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/NodeIterator.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/NodeIterator.java Tue Jan 19 20:29:11 2016 -0800
@@ -55,7 +55,7 @@
* <code>NodeIterators</code> are created by calling
* <code>DocumentTraversal</code><code>.createNodeIterator()</code>.
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
- * @since 1.9, DOM Level 2
+ * @since 9, DOM Level 2
*/
public interface NodeIterator {
/**
--- a/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/TreeWalker.java Tue Oct 20 19:28:49 2015 +0300
+++ b/jaxp/src/java.xml/share/classes/org/w3c/dom/traversal/TreeWalker.java Tue Jan 19 20:29:11 2016 -0800
@@ -60,7 +60,7 @@
* nodes will be siblings and appear as direct children of the root node, no
* matter how deeply nested the structure of the original document.
* <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113'>Document Object Model (DOM) Level 2 Traversal and Range Specification</a>.
- * @since 1.9, DOM Level 2
+ * @since 9, DOM Level 2
*/
public interface TreeWalker {
/**