< prev index next >
src/java.base/share/classes/java/lang/Runtime.java
Print this page
@@ -1138,11 +1138,11 @@
*
* @deprecated As of Java SE 10, the first element of a version
* number is not the major-release number but the feature-release
* counter, incremented for every time-based release. Use the {@link
* #feature()} method in preference to this method. For compatibility,
- * this method returns the value of the <a href="FEATURE">feature</a>
+ * this method returns the value of the <a href="#FEATURE">feature</a>
* element.
*
* @return The value of the feature element
*/
@Deprecated(since = "10")
@@ -1156,11 +1156,11 @@
*
* @deprecated As of Java SE 10, the second element of a version
* number is not the minor-release number but the interim-release
* counter, incremented for every interim release. Use the {@link
* #interim()} method in preference to this method. For compatibility,
- * this method returns the value of the <a href="INTERIM">interim</a>
+ * this method returns the value of the <a href="#INTERIM">interim</a>
* element, or zero if it is absent.
*
* @return The value of the interim element, or zero
*/
@Deprecated(since = "10")
@@ -1174,11 +1174,11 @@
*
* @deprecated As of Java SE 10, the third element of a version
* number is not the security level but the update-release counter,
* incremented for every update release. Use the {@link #update()}
* method in preference to this method. For compatibility, this method
- * returns the value of the <a href="UPDATE">update</a> element, or
+ * returns the value of the <a href="#UPDATE">update</a> element, or
* zero if it is absent.
*
* @return The value of the update element, or zero
*/
@Deprecated(since = "10")
@@ -1186,13 +1186,13 @@
return update();
}
/**
* Returns an unmodifiable {@link java.util.List List} of the integers
- * represented in the <a href="#verNum">version number</a>. The {@code
- * List} always contains at least one element corresponding to the <a
- * href="#feature">feature version number</a>.
+ * represented in the <a href="#verNum">version number</a>.
+ * The {@code List} always contains at least one element corresponding to
+ * the <a href="#FEATURE">feature version number</a>.
*
* @return An unmodifiable list of the integers
* represented in the version number
*/
public List<Integer> version() {
< prev index next >