提交 2079216c 编写于 作者: J jjh

7032960: API files in java.awt need to be updated for references to JVM Spec...

7032960: API files in java.awt need to be updated for references to JVM Spec with editions/hyperlinks
7032965: API files in java.io need to updated for references to JVM Spec with editions/hyperlinks
7032958: API files in java.lang need to updated for references to JLS with editions/hyperlinks
7032961: API files in java.lang need to updated for references to JVM with editions/hyperlinks
7032976: API files in javax.lang need to be updated for references to JLS with editions/hyperlinks
7032959: API files in java.util need to updated for references to JLS with editions/hyperlinks
7032962: API files in java.util need to updated for references to JVM Spec with editions/hyperlinks
7032967: API files in java.security need to updated for references to JVM Spec with editions/hyperlinks
7032955: API files in java.math need to updated for references to JLS with editions/hyperlinks
Summary: Removed URLs and 'edition' references
Reviewed-by: darcy
上级 6547550b
...@@ -53,7 +53,7 @@ DEV_DOCS_URL-7 = http://download.oracle.com/javase/7/docs/index.html ...@@ -53,7 +53,7 @@ DEV_DOCS_URL-7 = http://download.oracle.com/javase/7/docs/index.html
DEV_DOCS_URL = $(DEV_DOCS_URL-$(JDK_MINOR_VERSION)) DEV_DOCS_URL = $(DEV_DOCS_URL-$(JDK_MINOR_VERSION))
# Url to Java Language Spec # Url to Java Language Spec
JLS3_URL = http://java.sun.com/docs/books/jls/ #JLS3_URL = http://java.sun.com/docs/books/jls/
# Common Java trademark line # Common Java trademark line
JAVA_TRADEMARK_LINE = Java is a trademark or registered trademark of \ JAVA_TRADEMARK_LINE = Java is a trademark or registered trademark of \
...@@ -293,8 +293,8 @@ COREAPI_HEADER = \ ...@@ -293,8 +293,8 @@ COREAPI_HEADER = \
<strong>Java$(TRADEMARK)&nbsp;Platform<br>Standard&nbsp;Ed.&nbsp;$(JDK_MINOR_VERSION)</strong> <strong>Java$(TRADEMARK)&nbsp;Platform<br>Standard&nbsp;Ed.&nbsp;$(JDK_MINOR_VERSION)</strong>
# Java language specification cite # Java language specification cite
TAG_JLS3 = jls3:a:See <cite><a href="$(JLS3_URL)"> \ TAG_JLS = jls:a:See <cite> \
The Java Language Specification, Third Edition</a></cite>: The Java&trade; Language Specification</cite>:
# Overview file for core apis # Overview file for core apis
COREAPI_OVERVIEW = $(SHARE_SRC)/classes/overview-core.html COREAPI_OVERVIEW = $(SHARE_SRC)/classes/overview-core.html
...@@ -329,7 +329,7 @@ $(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW) ...@@ -329,7 +329,7 @@ $(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW)
$(call OptionPair,-tag,specdefault:X) ; \ $(call OptionPair,-tag,specdefault:X) ; \
$(call OptionPair,-tag,Note:X) ; \ $(call OptionPair,-tag,Note:X) ; \
$(call OptionPair,-tag,ToDo:X) ; \ $(call OptionPair,-tag,ToDo:X) ; \
$(call OptionPair,-tag,$(TAG_JLS3)) ; \ $(call OptionPair,-tag,$(TAG_JLS)) ; \
$(call OptionOnly,-splitIndex) ; \ $(call OptionOnly,-splitIndex) ; \
$(call OptionPair,-overview,$(COREAPI_OVERVIEW)) ; \ $(call OptionPair,-overview,$(COREAPI_OVERVIEW)) ; \
$(call OptionPair,-doctitle,$(COREAPI_DOCTITLE)) ; \ $(call OptionPair,-doctitle,$(COREAPI_DOCTITLE)) ; \
...@@ -1081,6 +1081,7 @@ $(TREEAPI_OPTIONS_FILE): ...@@ -1081,6 +1081,7 @@ $(TREEAPI_OPTIONS_FILE):
$(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \ $(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \
$(call OptionPair,-windowtitle,$(TREEAPI_WINDOWTITLE) $(DRAFT_WINTITLE));\ $(call OptionPair,-windowtitle,$(TREEAPI_WINDOWTITLE) $(DRAFT_WINTITLE));\
$(call OptionPair,-header,$(TREEAPI_HEADER)$(DRAFT_HEADER)) ; \ $(call OptionPair,-header,$(TREEAPI_HEADER)$(DRAFT_HEADER)) ; \
$(call OptionPair,-tag,$(TAG_JLS)) ; \
$(call OptionPair,-bottom,$(TREEAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \ $(call OptionPair,-bottom,$(TREEAPI_BOTTOM)$(DRAFT_BOTTOM)) ; \
$(call OptionTrip,-group,$(TREEAPI_GROUPNAME),$(TREEAPI_REGEXP)); \ $(call OptionTrip,-group,$(TREEAPI_GROUPNAME),$(TREEAPI_REGEXP)); \
$(call OptionTrip,-linkoffline,$(TREEAPI2COREAPI),$(COREAPI_DOCSDIR)/); \ $(call OptionTrip,-linkoffline,$(TREEAPI2COREAPI),$(COREAPI_DOCSDIR)/); \
......
...@@ -519,9 +519,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -519,9 +519,8 @@ JDWP "Java(tm) Debug Wire Protocol"
"Both the JNI signature and the generic signature are " "Both the JNI signature and the generic signature are "
"returned for each class. " "returned for each class. "
"Generic signatures are described in the signature attribute " "Generic signatures are described in the signature attribute "
"section in the " "section in "
"<a href=\"http://java.sun.com/docs/books/vmspec\"> "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"Java Virtual Machine Specification, 3rd Edition.</a> "
"Since JDWP version 1.5." "Since JDWP version 1.5."
(Out (Out
) )
...@@ -623,8 +622,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -623,8 +622,8 @@ JDWP "Java(tm) Debug Wire Protocol"
(referenceType refType "The reference type ID.") (referenceType refType "The reference type ID.")
) )
(Reply (Reply
(int modBits "Modifier bits as defined in the " (int modBits "Modifier bits as defined in Chapter 4 of "
"<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>") "<cite>The Java&trade; Virtual Machine Specification</cite>")
) )
(ErrorSet (ErrorSet
(Error INVALID_CLASS "refType is not the ID of a reference " (Error INVALID_CLASS "refType is not the ID of a reference "
...@@ -651,8 +650,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -651,8 +650,8 @@ JDWP "Java(tm) Debug Wire Protocol"
(int modBits "The modifier bit flags (also known as access flags) " (int modBits "The modifier bit flags (also known as access flags) "
"which provide additional information on the " "which provide additional information on the "
"field declaration. Individual flag values are " "field declaration. Individual flag values are "
"defined in the " "defined in Chapter 4 of "
"<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>." "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"In addition, The <code>0xf0000000</code> bit identifies " "In addition, The <code>0xf0000000</code> bit identifies "
"the field as synthetic, if the synthetic attribute " "the field as synthetic, if the synthetic attribute "
"<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.") "<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.")
...@@ -686,8 +685,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -686,8 +685,8 @@ JDWP "Java(tm) Debug Wire Protocol"
(int modBits "The modifier bit flags (also known as access flags) " (int modBits "The modifier bit flags (also known as access flags) "
"which provide additional information on the " "which provide additional information on the "
"method declaration. Individual flag values are " "method declaration. Individual flag values are "
"defined in the " "defined in Chapter 4 of "
"<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>." "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"In addition, The <code>0xf0000000</code> bit identifies " "In addition, The <code>0xf0000000</code> bit identifies "
"the method as synthetic, if the synthetic attribute " "the method as synthetic, if the synthetic attribute "
"<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.") "<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.")
...@@ -773,8 +772,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -773,8 +772,8 @@ JDWP "Java(tm) Debug Wire Protocol"
(Command Status=9 (Command Status=9
"Returns the current status of the reference type. The status " "Returns the current status of the reference type. The status "
"indicates the extent to which the reference type has been " "indicates the extent to which the reference type has been "
"initialized, as described in the " "initialized, as described in section 2.1.6 of "
"<a href=\"http://java.sun.com/docs/books/vmspec/html/Concepts.doc.html#16491\">VM specification</a>. " "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"If the class is linked the PREPARED and VERIFIED bits in the returned status bits " "If the class is linked the PREPARED and VERIFIED bits in the returned status bits "
"will be set. If the class is initialized the INITIALIZED bit in the returned " "will be set. If the class is initialized the INITIALIZED bit in the returned "
"status bits will be set. If an error occured during initialization then the " "status bits will be set. If an error occured during initialization then the "
...@@ -852,9 +851,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -852,9 +851,8 @@ JDWP "Java(tm) Debug Wire Protocol"
"Returns the JNI signature of a reference type along with the " "Returns the JNI signature of a reference type along with the "
"generic signature if there is one. " "generic signature if there is one. "
"Generic signatures are described in the signature attribute " "Generic signatures are described in the signature attribute "
"section in the " "section in "
"<a href=\"http://java.sun.com/docs/books/vmspec\"> "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"Java Virtual Machine Specification, 3rd Edition.</a> "
"Since JDWP version 1.5." "Since JDWP version 1.5."
"<p> "<p>
(Out (Out
...@@ -882,9 +880,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -882,9 +880,8 @@ JDWP "Java(tm) Debug Wire Protocol"
"by the compiler. " "by the compiler. "
"Fields are returned in the order they occur in the class file. " "Fields are returned in the order they occur in the class file. "
"Generic signatures are described in the signature attribute " "Generic signatures are described in the signature attribute "
"section in the " "section in "
"<a href=\"http://java.sun.com/docs/books/vmspec\"> "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"Java Virtual Machine Specification, 3rd Edition.</a> "
"Since JDWP version 1.5." "Since JDWP version 1.5."
(Out (Out
(referenceType refType "The reference type ID.") (referenceType refType "The reference type ID.")
...@@ -900,8 +897,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -900,8 +897,8 @@ JDWP "Java(tm) Debug Wire Protocol"
(int modBits "The modifier bit flags (also known as access flags) " (int modBits "The modifier bit flags (also known as access flags) "
"which provide additional information on the " "which provide additional information on the "
"field declaration. Individual flag values are " "field declaration. Individual flag values are "
"defined in the " "defined in Chapter 4 of "
"<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>." "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"In addition, The <code>0xf0000000</code> bit identifies " "In addition, The <code>0xf0000000</code> bit identifies "
"the field as synthetic, if the synthetic attribute " "the field as synthetic, if the synthetic attribute "
"<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.") "<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.")
...@@ -925,9 +922,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -925,9 +922,8 @@ JDWP "Java(tm) Debug Wire Protocol"
"if present, and any synthetic methods created by the compiler. " "if present, and any synthetic methods created by the compiler. "
"Methods are returned in the order they occur in the class file. " "Methods are returned in the order they occur in the class file. "
"Generic signatures are described in the signature attribute " "Generic signatures are described in the signature attribute "
"section in the " "section in "
"<a href=\"http://java.sun.com/docs/books/vmspec\"> "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"Java Virtual Machine Specification, 3rd Edition.</a> "
"Since JDWP version 1.5." "Since JDWP version 1.5."
(Out (Out
(referenceType refType "The reference type ID.") (referenceType refType "The reference type ID.")
...@@ -943,8 +939,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -943,8 +939,8 @@ JDWP "Java(tm) Debug Wire Protocol"
(int modBits "The modifier bit flags (also known as access flags) " (int modBits "The modifier bit flags (also known as access flags) "
"which provide additional information on the " "which provide additional information on the "
"method declaration. Individual flag values are " "method declaration. Individual flag values are "
"defined in the " "defined in Chapter 4 of "
"<a href=\"http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html\">VM Specification</a>." "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"In addition, The <code>0xf0000000</code> bit identifies " "In addition, The <code>0xf0000000</code> bit identifies "
"the method as synthetic, if the synthetic attribute " "the method as synthetic, if the synthetic attribute "
"<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.") "<a href=\"#JDWP_VirtualMachine_Capabilities\">capability</a> is available.")
...@@ -1006,8 +1002,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -1006,8 +1002,8 @@ JDWP "Java(tm) Debug Wire Protocol"
) )
(Command ConstantPool=18 (Command ConstantPool=18
"Return the raw bytes of the constant pool in the format of the " "Return the raw bytes of the constant pool in the format of the "
"constant_pool item of the Class File Format in the " "constant_pool item of the Class File Format in "
"Java Virtual Machine Specification. " "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"<p>Since JDWP version 1.6. Requires canGetConstantPool capability - see " "<p>Since JDWP version 1.6. Requires canGetConstantPool capability - see "
"<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>."" "<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>.""
(Out (Out
...@@ -1016,7 +1012,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -1016,7 +1012,8 @@ JDWP "Java(tm) Debug Wire Protocol"
(Reply (Reply
(int count "Total number of constant pool entries plus one. This " (int count "Total number of constant pool entries plus one. This "
"corresponds to the constant_pool_count item of the " "corresponds to the constant_pool_count item of the "
"Class File Format in the Java Virtual Machine Specification. ") "Class File Format in "
"<cite>The Java&trade; Virtual Machine Specification</cite>. ")
(Repeat bytes (Repeat bytes
(byte cpbytes "Raw bytes of constant pool") (byte cpbytes "Raw bytes of constant pool")
) )
...@@ -1324,7 +1321,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -1324,7 +1321,8 @@ JDWP "Java(tm) Debug Wire Protocol"
) )
) )
(Command Bytecodes=3 (Command Bytecodes=3
"Retrieve the method's bytecodes as defined in the JVM Specification." "Retrieve the method's bytecodes as defined in "
"<cite>The Java&trade; Virtual Machine Specification</cite>. "
"Requires canGetBytecodes capability - see " "Requires canGetBytecodes capability - see "
"<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>." "<a href=\"#JDWP_VirtualMachine_CapabilitiesNew\">CapabilitiesNew</a>."
(Out (Out
...@@ -1379,9 +1377,8 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -1379,9 +1377,8 @@ JDWP "Java(tm) Debug Wire Protocol"
"instance methods, the \"this\" reference is included in the " "instance methods, the \"this\" reference is included in the "
"table. Also, synthetic variables may be present. " "table. Also, synthetic variables may be present. "
"Generic signatures are described in the signature attribute " "Generic signatures are described in the signature attribute "
"section in the " "section in "
"<a href=\"http://java.sun.com/docs/books/vmspec\"> "<cite>The Java&trade; Virtual Machine Specification</cite>. "
"Java Virtual Machine Specification, 3rd Edition.</a> "
"Since JDWP version 1.5." "Since JDWP version 1.5."
(Out (Out
(referenceType refType "The class.") (referenceType refType "The class.")
...@@ -1970,8 +1967,9 @@ JDWP "Java(tm) Debug Wire Protocol" ...@@ -1970,8 +1967,9 @@ JDWP "Java(tm) Debug Wire Protocol"
"<p>" "<p>"
"The method which will return early is referred to as the " "The method which will return early is referred to as the "
"called method. The called method is the current method (as " "called method. The called method is the current method (as "
"defined by the Frames section in the Java Virtual Machine " "defined by the Frames section in "
"Specification) for the specified thread at the time this command " "<cite>The Java&trade; Virtual Machine Specification</cite>) "
"for the specified thread at the time this command "
"is received. " "is received. "
"<p>" "<p>"
"The specified thread must be suspended. " "The specified thread must be suspended. "
......
...@@ -175,8 +175,8 @@ public final class TypeResolver { ...@@ -175,8 +175,8 @@ public final class TypeResolver {
/** /**
* Converts the given {@code type} to the corresponding class. * Converts the given {@code type} to the corresponding class.
* This method implements the concept of type erasure, * This method implements the concept of type erasure,
* that is described in <a href="http://jscstage.sfbay.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.6">section 4.6</a> * that is described in section 4.6 of
* of Java Language Specification. * <cite>The Java&trade; Language Specification</cite>.
* *
* @param type the array of types to convert * @param type the array of types to convert
* @return a corresponding class * @return a corresponding class
......
...@@ -88,8 +88,8 @@ Jar File Specification :<a href="http://java.sun.com/j2se/1.3/docs/guide/jar/jar ...@@ -88,8 +88,8 @@ Jar File Specification :<a href="http://java.sun.com/j2se/1.3/docs/guide/jar/jar
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html</a></li> http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html</a></li>
<li> <li>
Java Virtual Machine Specification : <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html"> Class File Specification: Chapter 4 of
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html</a></li> <em>The Java&trade; Virtual Machine Specification</em>
<li> <li>
Hypertext Transfer Protocol -- HTTP/1.1 : <a href="http://www.ietf.org/rfc/rfc2616.txt"> Hypertext Transfer Protocol -- HTTP/1.1 : <a href="http://www.ietf.org/rfc/rfc2616.txt">
......
...@@ -42,12 +42,9 @@ public interface Accessible { ...@@ -42,12 +42,9 @@ public interface Accessible {
* Returns the Java<sup><font size=-2>TM</font></sup> * Returns the Java<sup><font size=-2>TM</font></sup>
* programming language modifiers, encoded in an integer. * programming language modifiers, encoded in an integer.
* <p> * <p>
* The modifier encodings are defined in the * The modifier encodings are defined in
* <a href="http://java.sun.com/docs/books/vmspec/">Java Virtual Machine * <cite>The Java&trade; Virtual Machine Specification</cite>
* Specification</a>, in the <code>access_flag</code> tables for * in the <code>access_flag</code> tables for classes(section 4.1), fields(section 4.5), and methods(section 4.6).
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#75734">classes</a>,
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#88358">fields</a>, and
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#75568">methods</a>.
*/ */
public int modifiers(); public int modifiers();
......
...@@ -77,11 +77,9 @@ public interface ArrayType extends ReferenceType { ...@@ -77,11 +77,9 @@ public interface ArrayType extends ReferenceType {
* as specified in the array declaration. * as specified in the array declaration.
* <P> * <P>
* Note: The component type of a array will always be * Note: The component type of a array will always be
* created or loaded before the array - see the * created or loaded before the array - see
* <a href="http://java.sun.com/docs/books/vmspec/">Java Virtual * <cite>The Java&trade; Virtual Machine Specification</cite>,
* Machine Specification</a>, section * section 5.3.3 - Creating Array Classes.
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPool.doc.html#79473">5.3.3
* Creating Array Classes</a>.
* However, although the component type will be loaded it may * However, although the component type will be loaded it may
* not yet be prepared, in which case the type will be returned * not yet be prepared, in which case the type will be returned
* but attempts to perform some operations on the returned type * but attempts to perform some operations on the returned type
......
...@@ -71,11 +71,9 @@ public interface ClassLoaderReference extends ObjectReference { ...@@ -71,11 +71,9 @@ public interface ClassLoaderReference extends ObjectReference {
* <p> * <p>
* No ordering of the returned list is guaranteed. * No ordering of the returned list is guaranteed.
* <p> * <p>
* See the revised * See
* <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>,
* Virtual Machine Specification</a> section * section 5.3 - Creation and Loading
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ConstantPool.doc.html#72007">5.3
* Creation and Loading</a>
* for more information on the initiating classloader. * for more information on the initiating classloader.
* <p> * <p>
* Note that unlike {@link #definedClasses()} * Note that unlike {@link #definedClasses()}
......
...@@ -60,9 +60,9 @@ package com.sun.jdi; ...@@ -60,9 +60,9 @@ package com.sun.jdi;
* is visible to the class loader of enclosing class. (That is, the * is visible to the class loader of enclosing class. (That is, the
* class loader of the enclosing class must be an <i>initiating</i> class * class loader of the enclosing class must be an <i>initiating</i> class
* loader for the class in question.) * loader for the class in question.)
* See the <a href="http://java.sun.com/docs/books/vmspec/">Java * See
* Virtual Machine Specification</a> for * <cite>The Java&trade; Virtual Machine Specification</cite>
* more details. * for more details.
* *
* @author Gordon Hirsch * @author Gordon Hirsch
* @since 1.3 * @since 1.3
......
...@@ -164,10 +164,8 @@ public interface ClassType extends ReferenceType { ...@@ -164,10 +164,8 @@ public interface ClassType extends ReferenceType {
* component type is passed. The component type can be a primitive type. * component type is passed. The component type can be a primitive type.
* Autoboxing is not supported. * Autoboxing is not supported.
* *
* See the <a href="http://java.sun.com/docs/books/jls/"> * See Section 5.2 of
* Java Language Specification</a>. * <cite>The Java&trade; Language Specification</cite>
* section
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#184206">5.2</a>
* for more information on assignment compatibility. * for more information on assignment compatibility.
* <p> * <p>
* By default, all threads in the target VM are resumed while * By default, all threads in the target VM are resumed while
...@@ -280,10 +278,8 @@ public interface ClassType extends ReferenceType { ...@@ -280,10 +278,8 @@ public interface ClassType extends ReferenceType {
* component type is passed. The component type can be a primitive type. * component type is passed. The component type can be a primitive type.
* Autoboxing is not supported. * Autoboxing is not supported.
* *
* See the <a href="http://java.sun.com/docs/books/jls/"> * See section 5.2 of
* Java Language Specification</a>. * <cite>The Java&trade; Language Specification</cite>
* section
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#184206">5.2</a>
* for more information on assignment compatibility. * for more information on assignment compatibility.
* <p> * <p>
* By default, all threads in the target VM are resumed while * By default, all threads in the target VM are resumed while
......
...@@ -102,9 +102,7 @@ public interface LocalVariable extends Mirror, Comparable<LocalVariable> { ...@@ -102,9 +102,7 @@ public interface LocalVariable extends Mirror, Comparable<LocalVariable> {
/** /**
* Gets the generic signature for this variable if there is one. * Gets the generic signature for this variable if there is one.
* Generic signatures are described in the * Generic signatures are described in the
* <a href="http://java.sun.com/docs/books/vmspec"> * <cite>The Java&trade; Virtual Machine Specification</cite>.
* "Java<sup><font size=-2>TM</font></sup>
* Virtual Machine Specification, 3rd Edition.</a>
* *
* @return a string containing the generic signature, or <code>null</code> * @return a string containing the generic signature, or <code>null</code>
* if there is no generic signature. * if there is no generic signature.
......
...@@ -164,10 +164,8 @@ public interface Method extends TypeComponent, Locatable, Comparable<Method> { ...@@ -164,10 +164,8 @@ public interface Method extends TypeComponent, Locatable, Comparable<Method> {
/** /**
* Determine if this method is a bridge method. Bridge * Determine if this method is a bridge method. Bridge
* methods are defined in the * methods are defined in
* <a href="http://java.sun.com/docs/books/jls"> * <cite>The Java&trade; Language Specification</cite>.
* "Java<sup><font size=-2>TM</font></sup>
* Language Specification, 3rd Edition.</a>
* *
* @return <code>true</code> if the method is a bridge method, * @return <code>true</code> if the method is a bridge method,
* false otherwise. * false otherwise.
......
...@@ -118,10 +118,8 @@ public interface ObjectReference extends Value ...@@ -118,10 +118,8 @@ public interface ObjectReference extends Value
* enclosing class's class loader). Primitive values must be * enclosing class's class loader). Primitive values must be
* either assignment compatible with the field type or must be * either assignment compatible with the field type or must be
* convertible to the field type without loss of information. * convertible to the field type without loss of information.
* See the <a href="http://java.sun.com/docs/books/jls/"> * See section 5.2 of
* Java<sup><font size=-2>TM</font></sup> Language Specification</a>. * <cite>The Java&trade; Language Specification</cite>
* section
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#184206">5.2</a>
* for more information on assignment * for more information on assignment
* compatibility. * compatibility.
* *
...@@ -182,18 +180,13 @@ public interface ObjectReference extends Value ...@@ -182,18 +180,13 @@ public interface ObjectReference extends Value
* component type is passed. The component type can be a primitive type. * component type is passed. The component type can be a primitive type.
* Autoboxing is not supported. * Autoboxing is not supported.
* *
* See the <a href="http://java.sun.com/docs/books/jls/"> * See section 5.2 of
* Java Language Specification</a>. * <cite>The Java&trade; Language Specification</cite>
* section
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#184206">5.2</a>
* for more information on assignment compatibility. * for more information on assignment compatibility.
* <p> * <p>
* By default, the method is invoked using dynamic lookup as * By default, the method is invoked using dynamic lookup as
* documented in the * documented in section 15.12.4.4 of
* <a href="http://java.sun.com/docs/books/jls/"> * <cite>The Java&trade; Language Specification</cite>
* Java Language Specification</a>
* second edition, section
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#45606">15.12.4.4</a>;
* in particular, overriding based on the runtime type of the object * in particular, overriding based on the runtime type of the object
* mirrored by this {@link ObjectReference} will occur. This * mirrored by this {@link ObjectReference} will occur. This
* behavior can be changed by specifying the * behavior can be changed by specifying the
......
...@@ -30,9 +30,8 @@ import java.util.Map; ...@@ -30,9 +30,8 @@ import java.util.Map;
/** /**
* The type of an object in a target VM. ReferenceType encompasses * The type of an object in a target VM. ReferenceType encompasses
* classes, interfaces, and array types as defined in the * classes, interfaces, and array types as defined in
* <a href="http://java.sun.com/docs/books/jls/"> * <cite>The Java&trade; Language Specification</cite>.
* Java<sup><font size=-2>TM</font></sup> Language Specification</a>.
* All ReferenceType objects belong to one of the following * All ReferenceType objects belong to one of the following
* subinterfaces: * subinterfaces:
* {@link ClassType} for classes, * {@link ClassType} for classes,
...@@ -98,9 +97,7 @@ public interface ReferenceType ...@@ -98,9 +97,7 @@ public interface ReferenceType
/** /**
* Gets the generic signature for this type if there is one. * Gets the generic signature for this type if there is one.
* Generic signatures are described in the * Generic signatures are described in the
* <a href="http://java.sun.com/docs/books/vmspec"> * <cite>The Java&trade; Virtual Machine Specification</cite>.
* "Java<sup><font size=-2>TM</font></sup>
* Virtual Machine Specification, 3rd Edition.</a>
* *
* @return a string containing the generic signature, or <code>null</code> * @return a string containing the generic signature, or <code>null</code>
* if there is no generic signature. * if there is no generic signature.
......
...@@ -74,9 +74,7 @@ public interface TypeComponent extends Mirror, Accessible { ...@@ -74,9 +74,7 @@ public interface TypeComponent extends Mirror, Accessible {
/** /**
* Gets the generic signature for this TypeComponent if there is one. * Gets the generic signature for this TypeComponent if there is one.
* Generic signatures are described in the * Generic signatures are described in the
* <a href="http://java.sun.com/docs/books/vmspec"> * <cite>The Java&trade; Virtual Machine Specification</cite>.
* "Java<sup><font size=-2>TM</font></sup>
* Virtual Machine Specification, 3rd Edition.</a>
* *
* @return a string containing the generic signature, or <code>null</code> * @return a string containing the generic signature, or <code>null</code>
* if there is no generic signature. * if there is no generic signature.
......
...@@ -40,10 +40,9 @@ newly added listener is only notified on subsequent key events. ...@@ -40,10 +40,9 @@ newly added listener is only notified on subsequent key events.
<a name="Autoshutdown"></a> <a name="Autoshutdown"></a>
<h2>Auto-shutdown</h2> <h2>Auto-shutdown</h2>
According to <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html"><i>The According to
Java</i><sup><small>TM</small></sup> <i>Virtual Machine Specification, <cite>The Java&trade; Virtual Machine Specification</cite>,
Second edition</i></a> (see <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#19152">§2.17.9</a> sections 2.17.9 and 2.19,
and <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#33308">§2.19</a>),
the Java virtual machine (JVM) initially starts up with a single non-daemon the Java virtual machine (JVM) initially starts up with a single non-daemon
thread, which typically calls the <code>main</code> method of some class. thread, which typically calls the <code>main</code> method of some class.
The virtual machine terminates all its activity and exits when The virtual machine terminates all its activity and exits when
...@@ -183,7 +182,8 @@ non-daemon thread that blocks forever. ...@@ -183,7 +182,8 @@ non-daemon thread that blocks forever.
<...> <...>
</pre> </pre>
The Java Virtual Machine Specification guarantees <cite>The Java&trade; Virtual Machine Specification</cite>
guarantees
that the JVM doesn't exit until this thread terminates. that the JVM doesn't exit until this thread terminates.
</body> </body>
</html> </html>
...@@ -148,8 +148,8 @@ public final class Console implements Flushable ...@@ -148,8 +148,8 @@ public final class Console implements Flushable
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -187,8 +187,8 @@ public final class Console implements Flushable ...@@ -187,8 +187,8 @@ public final class Console implements Flushable
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -220,8 +220,7 @@ public final class Console implements Flushable ...@@ -220,8 +220,7 @@ public final class Console implements Flushable
* string. If there are more arguments than format specifiers, the * string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is * extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>.
* *
* @throws IllegalFormatException * @throws IllegalFormatException
* If a format string contains an illegal syntax, a format * If a format string contains an illegal syntax, a format
...@@ -285,8 +284,7 @@ public final class Console implements Flushable ...@@ -285,8 +284,7 @@ public final class Console implements Flushable
* string. If there are more arguments than format specifiers, the * string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is * extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>.
* *
* @throws IllegalFormatException * @throws IllegalFormatException
* If a format string contains an illegal syntax, a format * If a format string contains an illegal syntax, a format
......
...@@ -846,8 +846,8 @@ public class PrintStream extends FilterOutputStream ...@@ -846,8 +846,8 @@ public class PrintStream extends FilterOutputStream
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -896,8 +896,8 @@ public class PrintStream extends FilterOutputStream ...@@ -896,8 +896,8 @@ public class PrintStream extends FilterOutputStream
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -939,8 +939,8 @@ public class PrintStream extends FilterOutputStream ...@@ -939,8 +939,8 @@ public class PrintStream extends FilterOutputStream
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -996,8 +996,8 @@ public class PrintStream extends FilterOutputStream ...@@ -996,8 +996,8 @@ public class PrintStream extends FilterOutputStream
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
......
...@@ -779,8 +779,8 @@ public class PrintWriter extends Writer { ...@@ -779,8 +779,8 @@ public class PrintWriter extends Writer {
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -830,8 +830,8 @@ public class PrintWriter extends Writer { ...@@ -830,8 +830,8 @@ public class PrintWriter extends Writer {
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -874,8 +874,8 @@ public class PrintWriter extends Writer { ...@@ -874,8 +874,8 @@ public class PrintWriter extends Writer {
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -934,8 +934,8 @@ public class PrintWriter extends Writer { ...@@ -934,8 +934,8 @@ public class PrintWriter extends Writer {
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
......
...@@ -34,11 +34,9 @@ package java.lang; ...@@ -34,11 +34,9 @@ package java.lang;
* new AssertionError(<i>expression</i>) * new AssertionError(<i>expression</i>)
* </pre> * </pre>
* has as its detail message the <i>string conversion</i> of * has as its detail message the <i>string conversion</i> of
* <i>expression</i> (as defined in <a * <i>expression</i> (as defined in section 15.18.1.1 of
* href="http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html"> * <cite>The Java&trade; Language Specification</cite>),
* <i>The Java Language Specification, Second Edition</i></a>, * regardless of the type of <i>expression</i>.
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#40220">
* Section 15.18.1.1</a>), regardless of the type of <i>expression</i>.
* *
* @since 1.4 * @since 1.4
*/ */
...@@ -63,8 +61,8 @@ public class AssertionError extends Error { ...@@ -63,8 +61,8 @@ public class AssertionError extends Error {
/** /**
* Constructs an AssertionError with its detail message derived * Constructs an AssertionError with its detail message derived
* from the specified object, which is converted to a string as * from the specified object, which is converted to a string as
* defined in <i>The Java Language Specification, Second * defined in section 15.18.1.1 of
* Edition</i>, Section 15.18.1.1. * <cite>The Java&trade; Language Specification</cite>.
*<p> *<p>
* If the specified object is an instance of {@code Throwable}, it * If the specified object is an instance of {@code Throwable}, it
* becomes the <i>cause</i> of the newly constructed assertion error. * becomes the <i>cause</i> of the newly constructed assertion error.
...@@ -81,8 +79,8 @@ public class AssertionError extends Error { ...@@ -81,8 +79,8 @@ public class AssertionError extends Error {
/** /**
* Constructs an AssertionError with its detail message derived * Constructs an AssertionError with its detail message derived
* from the specified <code>boolean</code>, which is converted to * from the specified <code>boolean</code>, which is converted to
* a string as defined in <i>The Java Language Specification, * a string as defined in section 15.18.1.1 of
* Second Edition</i>, Section 15.18.1.1. * <cite>The Java&trade; Language Specification</cite>.
* *
* @param detailMessage value to be used in constructing detail message * @param detailMessage value to be used in constructing detail message
*/ */
...@@ -93,8 +91,8 @@ public class AssertionError extends Error { ...@@ -93,8 +91,8 @@ public class AssertionError extends Error {
/** /**
* Constructs an AssertionError with its detail message derived * Constructs an AssertionError with its detail message derived
* from the specified <code>char</code>, which is converted to a * from the specified <code>char</code>, which is converted to a
* string as defined in <i>The Java Language Specification, Second * string as defined in section 15.18.1.1 of
* Edition</i>, Section 15.18.1.1. * <cite>The Java&trade; Language Specification</cite>.
* *
* @param detailMessage value to be used in constructing detail message * @param detailMessage value to be used in constructing detail message
*/ */
...@@ -105,8 +103,8 @@ public class AssertionError extends Error { ...@@ -105,8 +103,8 @@ public class AssertionError extends Error {
/** /**
* Constructs an AssertionError with its detail message derived * Constructs an AssertionError with its detail message derived
* from the specified <code>int</code>, which is converted to a * from the specified <code>int</code>, which is converted to a
* string as defined in <i>The Java Language Specification, Second * string as defined in section 15.18.1.1 of
* Edition</i>, Section 15.18.1.1. * <cite>The Java&trade; Language Specification</cite>.
* *
* @param detailMessage value to be used in constructing detail message * @param detailMessage value to be used in constructing detail message
*/ */
...@@ -117,8 +115,8 @@ public class AssertionError extends Error { ...@@ -117,8 +115,8 @@ public class AssertionError extends Error {
/** /**
* Constructs an AssertionError with its detail message derived * Constructs an AssertionError with its detail message derived
* from the specified <code>long</code>, which is converted to a * from the specified <code>long</code>, which is converted to a
* string as defined in <i>The Java Language Specification, Second * string as defined in section 15.18.1.1 of
* Edition</i>, Section 15.18.1.1. * <cite>The Java&trade; Language Specification</cite>.
* *
* @param detailMessage value to be used in constructing detail message * @param detailMessage value to be used in constructing detail message
*/ */
...@@ -129,8 +127,8 @@ public class AssertionError extends Error { ...@@ -129,8 +127,8 @@ public class AssertionError extends Error {
/** /**
* Constructs an AssertionError with its detail message derived * Constructs an AssertionError with its detail message derived
* from the specified <code>float</code>, which is converted to a * from the specified <code>float</code>, which is converted to a
* string as defined in <i>The Java Language Specification, Second * string as defined in section 15.18.1.1 of
* Edition</i>, Section 15.18.1.1. * <cite>The Java&trade; Language Specification</cite>.
* *
* @param detailMessage value to be used in constructing detail message * @param detailMessage value to be used in constructing detail message
*/ */
...@@ -141,8 +139,8 @@ public class AssertionError extends Error { ...@@ -141,8 +139,8 @@ public class AssertionError extends Error {
/** /**
* Constructs an AssertionError with its detail message derived * Constructs an AssertionError with its detail message derived
* from the specified <code>double</code>, which is converted to a * from the specified <code>double</code>, which is converted to a
* string as defined in <i>The Java Language Specification, Second * string as defined in section 15.18.1.1 of
* Edition</i>, Section 15.18.1.1. * <cite>The Java&trade; Language Specification</cite>.
* *
* @param detailMessage value to be used in constructing detail message * @param detailMessage value to be used in constructing detail message
*/ */
......
...@@ -251,9 +251,9 @@ public final class Byte extends Number implements Comparable<Byte> { ...@@ -251,9 +251,9 @@ public final class Byte extends Number implements Comparable<Byte> {
* </blockquote> * </blockquote>
* *
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i> * <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
* are defined in <a href="http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#48282">&sect;3.10.1</a> * are as defined in section 3.10.1 of
* of the <a href="http://java.sun.com/docs/books/jls/html/">Java * <cite>The Java&trade; Language Specification</cite>,
* Language Specification</a>. * except that underscores are not accepted between digits.
* *
* <p>The sequence of characters following an optional * <p>The sequence of characters following an optional
* sign and/or radix specifier ("{@code 0x}", "{@code 0X}", * sign and/or radix specifier ("{@code 0x}", "{@code 0X}",
......
...@@ -95,8 +95,8 @@ import sun.reflect.annotation.*; ...@@ -95,8 +95,8 @@ import sun.reflect.annotation.*;
* </pre></blockquote> * </pre></blockquote>
* *
* <p> It is also possible to get the {@code Class} object for a named * <p> It is also possible to get the {@code Class} object for a named
* type (or for void) using a class literal * type (or for void) using a class literal. See Section 15.8.2 of
* (JLS Section <A HREF="http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#251530">15.8.2</A>). * <cite>The Java&trade; Language Specification</cite>.
* For example: * For example:
* *
* <p> <blockquote> * <p> <blockquote>
...@@ -521,7 +521,8 @@ public final ...@@ -521,7 +521,8 @@ public final
* *
* <p> If this class object represents a reference type that is not an * <p> If this class object represents a reference type that is not an
* array type then the binary name of the class is returned, as specified * array type then the binary name of the class is returned, as specified
* by the Java Language Specification, Second Edition. * by
* <cite>The Java&trade; Language Specification</cite>.
* *
* <p> If this class object represents a primitive type or void, then the * <p> If this class object represents a primitive type or void, then the
* name returned is a {@code String} equal to the Java language * name returned is a {@code String} equal to the Java language
...@@ -630,8 +631,8 @@ public final ...@@ -630,8 +631,8 @@ public final
* the type variables declared by this generic declaration * the type variables declared by this generic declaration
* @throws java.lang.reflect.GenericSignatureFormatError if the generic * @throws java.lang.reflect.GenericSignatureFormatError if the generic
* signature of this generic declaration does not conform to * signature of this generic declaration does not conform to
* the format specified in the Java Virtual Machine Specification, * the format specified in
* 3rd edition * <cite>The Java&trade; Virtual Machine Specification</cite>
* @since 1.5 * @since 1.5
*/ */
public TypeVariable<Class<T>>[] getTypeParameters() { public TypeVariable<Class<T>>[] getTypeParameters() {
...@@ -675,8 +676,8 @@ public final ...@@ -675,8 +676,8 @@ public final
* returned. * returned.
* *
* @throws java.lang.reflect.GenericSignatureFormatError if the generic * @throws java.lang.reflect.GenericSignatureFormatError if the generic
* class signature does not conform to the format specified in the * class signature does not conform to the format specified in
* Java Virtual Machine Specification, 3rd edition * <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if the generic superclass * @throws TypeNotPresentException if the generic superclass
* refers to a non-existent type declaration * refers to a non-existent type declaration
* @throws java.lang.reflect.MalformedParameterizedTypeException if the * @throws java.lang.reflect.MalformedParameterizedTypeException if the
...@@ -798,7 +799,8 @@ public final ...@@ -798,7 +799,8 @@ public final
* *
* @throws java.lang.reflect.GenericSignatureFormatError * @throws java.lang.reflect.GenericSignatureFormatError
* if the generic class signature does not conform to the format * if the generic class signature does not conform to the format
* specified in the Java Virtual Machine Specification, 3rd edition * specified in
* <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if any of the generic * @throws TypeNotPresentException if any of the generic
* superinterfaces refers to a non-existent type declaration * superinterfaces refers to a non-existent type declaration
* @throws java.lang.reflect.MalformedParameterizedTypeException * @throws java.lang.reflect.MalformedParameterizedTypeException
......
...@@ -160,8 +160,8 @@ import sun.security.util.SecurityConstants; ...@@ -160,8 +160,8 @@ import sun.security.util.SecurityConstants;
* <h4> <a name="name">Binary names</a> </h4> * <h4> <a name="name">Binary names</a> </h4>
* *
* <p> Any class name provided as a {@link String} parameter to methods in * <p> Any class name provided as a {@link String} parameter to methods in
* <tt>ClassLoader</tt> must be a binary name as defined by the <a * <tt>ClassLoader</tt> must be a binary name as defined by
* href="http://java.sun.com/docs/books/jls/">Java Language Specification</a>. * <cite>The Java&trade; Language Specification</cite>.
* *
* <p> Examples of valid class names include: * <p> Examples of valid class names include:
* <blockquote><pre> * <blockquote><pre>
...@@ -531,9 +531,8 @@ public abstract class ClassLoader { ...@@ -531,9 +531,8 @@ public abstract class ClassLoader {
* @param b * @param b
* The bytes that make up the class data. The bytes in positions * The bytes that make up the class data. The bytes in positions
* <tt>off</tt> through <tt>off+len-1</tt> should have the format * <tt>off</tt> through <tt>off+len-1</tt> should have the format
* of a valid class file as defined by the <a * of a valid class file as defined by
* href="http://java.sun.com/docs/books/vmspec/">Java Virtual * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Machine Specification</a>.
* *
* @param off * @param off
* The start offset in <tt>b</tt> of the class data * The start offset in <tt>b</tt> of the class data
...@@ -597,9 +596,8 @@ public abstract class ClassLoader { ...@@ -597,9 +596,8 @@ public abstract class ClassLoader {
* @param b * @param b
* The bytes that make up the class data. The bytes in positions * The bytes that make up the class data. The bytes in positions
* <tt>off</tt> through <tt>off+len-1</tt> should have the format * <tt>off</tt> through <tt>off+len-1</tt> should have the format
* of a valid class file as defined by the <a * of a valid class file as defined by
* href="http://java.sun.com/docs/books/vmspec/">Java Virtual * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Machine Specification</a>.
* *
* @param off * @param off
* The start offset in <tt>b</tt> of the class data * The start offset in <tt>b</tt> of the class data
...@@ -748,9 +746,8 @@ public abstract class ClassLoader { ...@@ -748,9 +746,8 @@ public abstract class ClassLoader {
* @param b * @param b
* The bytes that make up the class data. The bytes in positions * The bytes that make up the class data. The bytes in positions
* <tt>off</tt> through <tt>off+len-1</tt> should have the format * <tt>off</tt> through <tt>off+len-1</tt> should have the format
* of a valid class file as defined by the <a * of a valid class file as defined by
* href="http://java.sun.com/docs/books/vmspec/">Java Virtual * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Machine Specification</a>.
* *
* @param off * @param off
* The start offset in <tt>b</tt> of the class data * The start offset in <tt>b</tt> of the class data
...@@ -838,8 +835,7 @@ public abstract class ClassLoader { ...@@ -838,8 +835,7 @@ public abstract class ClassLoader {
* The bytes that make up the class data. The bytes from positions * The bytes that make up the class data. The bytes from positions
* <tt>b.position()</tt> through <tt>b.position() + b.limit() -1 * <tt>b.position()</tt> through <tt>b.position() + b.limit() -1
* </tt> should have the format of a valid class file as defined by * </tt> should have the format of a valid class file as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java Virtual * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Machine Specification</a>.
* *
* @param protectionDomain * @param protectionDomain
* The ProtectionDomain of the class, or <tt>null</tt>. * The ProtectionDomain of the class, or <tt>null</tt>.
...@@ -998,9 +994,8 @@ public abstract class ClassLoader { ...@@ -998,9 +994,8 @@ public abstract class ClassLoader {
* Links the specified class. This (misleadingly named) method may be * Links the specified class. This (misleadingly named) method may be
* used by a class loader to link a class. If the class <tt>c</tt> has * used by a class loader to link a class. If the class <tt>c</tt> has
* already been linked, then this method simply returns. Otherwise, the * already been linked, then this method simply returns. Otherwise, the
* class is linked as described in the "Execution" chapter of the <a * class is linked as described in the "Execution" chapter of
* href="http://java.sun.com/docs/books/jls/">Java Language * <cite>The Java&trade; Language Specification</cite>.
* Specification</a>.
* </p> * </p>
* *
* @param c * @param c
...@@ -2034,8 +2029,8 @@ public abstract class ClassLoader { ...@@ -2034,8 +2029,8 @@ public abstract class ClassLoader {
* The name of the package whose package default assertion status * The name of the package whose package default assertion status
* is to be set. A <tt>null</tt> value indicates the unnamed * is to be set. A <tt>null</tt> value indicates the unnamed
* package that is "current" * package that is "current"
* (<a href="http://java.sun.com/docs/books/jls/">Java Language * (see section 7.4.2 of
* Specification</a>, section 7.4.2). * <cite>The Java&trade; Language Specification</cite>.)
* *
* @param enabled * @param enabled
* <tt>true</tt> if classes loaded by this classloader and * <tt>true</tt> if classes loaded by this classloader and
......
...@@ -392,9 +392,10 @@ public final class Double extends Number implements Comparable<Double> { ...@@ -392,9 +392,10 @@ public final class Double extends Number implements Comparable<Double> {
* where <i>Sign</i>, <i>FloatingPointLiteral</i>, * where <i>Sign</i>, <i>FloatingPointLiteral</i>,
* <i>HexNumeral</i>, <i>HexDigits</i>, <i>SignedInteger</i> and * <i>HexNumeral</i>, <i>HexDigits</i>, <i>SignedInteger</i> and
* <i>FloatTypeSuffix</i> are as defined in the lexical structure * <i>FloatTypeSuffix</i> are as defined in the lexical structure
* sections of the <a * sections of
* href="http://java.sun.com/docs/books/jls/html/">Java Language * <cite>The Java&trade; Language Specification</cite>,
* Specification</a>. If {@code s} does not have the form of * except that underscores are not accepted between digits.
* If {@code s} does not have the form of
* a <i>FloatValue</i>, then a {@code NumberFormatException} * a <i>FloatValue</i>, then a {@code NumberFormatException}
* is thrown. Otherwise, {@code s} is regarded as * is thrown. Otherwise, {@code s} is regarded as
* representing an exact decimal value in the usual * representing an exact decimal value in the usual
...@@ -464,8 +465,8 @@ public final class Double extends Number implements Comparable<Double> { ...@@ -464,8 +465,8 @@ public final class Double extends Number implements Comparable<Double> {
* // Since this method allows integer-only strings as input * // Since this method allows integer-only strings as input
* // in addition to strings of floating-point literals, the * // in addition to strings of floating-point literals, the
* // two sub-patterns below are simplifications of the grammar * // two sub-patterns below are simplifications of the grammar
* // productions from the Java Language Specification, 2nd * // productions from section 3.10.2 of
* // edition, section 3.10.2. * // <cite>The Java&trade; Language Specification</cite>.
* *
* // Digits ._opt Digits_opt ExponentPart_opt FloatTypeSuffix_opt * // Digits ._opt Digits_opt ExponentPart_opt FloatTypeSuffix_opt
* "((("+Digits+"(\\.)?("+Digits+"?)("+Exp+")?)|"+ * "((("+Digits+"(\\.)?("+Digits+"?)("+Exp+")?)|"+
......
...@@ -36,9 +36,8 @@ import java.io.ObjectStreamException; ...@@ -36,9 +36,8 @@ import java.io.ObjectStreamException;
* *
* More information about enums, including descriptions of the * More information about enums, including descriptions of the
* implicitly declared methods synthesized by the compiler, can be * implicitly declared methods synthesized by the compiler, can be
* found in <i>The Java&trade; Language Specification, Third * found in section 8.9 of
* Edition</i>, <a * <cite>The Java&trade; Language Specification</cite>.
* href="http://java.sun.com/docs/books/jls/third_edition/html/classes.html#8.9">&sect;8.9</a>.
* *
* <p> Note that when using an enumeration type as the type of a set * <p> Note that when using an enumeration type as the type of a set
* or as the type of the keys in a map, specialized and efficient * or as the type of the keys in a map, specialized and efficient
......
...@@ -43,7 +43,7 @@ package java.lang; ...@@ -43,7 +43,7 @@ package java.lang;
* *
* @author Frank Yellin * @author Frank Yellin
* @see java.lang.ThreadDeath * @see java.lang.ThreadDeath
* @jls3 11.2 Compile-Time Checking of Exceptions * @jls 11.2 Compile-Time Checking of Exceptions
* @since JDK1.0 * @since JDK1.0
*/ */
public class Error extends Throwable { public class Error extends Throwable {
......
...@@ -39,7 +39,7 @@ package java.lang; ...@@ -39,7 +39,7 @@ package java.lang;
* *
* @author Frank Yellin * @author Frank Yellin
* @see java.lang.Error * @see java.lang.Error
* @jls3 11.2 Compile-Time Checking of Exceptions * @jls 11.2 Compile-Time Checking of Exceptions
* @since JDK1.0 * @since JDK1.0
*/ */
public class Exception extends Throwable { public class Exception extends Throwable {
......
...@@ -353,9 +353,10 @@ public final class Float extends Number implements Comparable<Float> { ...@@ -353,9 +353,10 @@ public final class Float extends Number implements Comparable<Float> {
* where <i>Sign</i>, <i>FloatingPointLiteral</i>, * where <i>Sign</i>, <i>FloatingPointLiteral</i>,
* <i>HexNumeral</i>, <i>HexDigits</i>, <i>SignedInteger</i> and * <i>HexNumeral</i>, <i>HexDigits</i>, <i>SignedInteger</i> and
* <i>FloatTypeSuffix</i> are as defined in the lexical structure * <i>FloatTypeSuffix</i> are as defined in the lexical structure
* sections of the <a * sections of
* href="http://java.sun.com/docs/books/jls/html/">Java Language * <cite>The Java&trade; Language Specification</cite>,
* Specification</a>. If {@code s} does not have the form of * except that underscores are not accepted between digits.
* If {@code s} does not have the form of
* a <i>FloatValue</i>, then a {@code NumberFormatException} * a <i>FloatValue</i>, then a {@code NumberFormatException}
* is thrown. Otherwise, {@code s} is regarded as * is thrown. Otherwise, {@code s} is regarded as
* representing an exact decimal value in the usual * representing an exact decimal value in the usual
......
...@@ -918,9 +918,9 @@ public final class Integer extends Number implements Comparable<Integer> { ...@@ -918,9 +918,9 @@ public final class Integer extends Number implements Comparable<Integer> {
* </blockquote> * </blockquote>
* *
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i> * <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
* are defined in <a href="http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#48282">&sect;3.10.1</a> * are as defined in section 3.10.1 of
* of the <a href="http://java.sun.com/docs/books/jls/html/">Java * <cite>The Java&trade; Language Specification</cite>,
* Language Specification</a>. * except that underscores are not accepted between digits.
* *
* <p>The sequence of characters following an optional * <p>The sequence of characters following an optional
* sign and/or radix specifier ("{@code 0x}", "{@code 0X}", * sign and/or radix specifier ("{@code 0x}", "{@code 0X}",
......
...@@ -598,9 +598,9 @@ public final class Long extends Number implements Comparable<Long> { ...@@ -598,9 +598,9 @@ public final class Long extends Number implements Comparable<Long> {
* </blockquote> * </blockquote>
* *
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i> * <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
* are defined in <a href="http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#48282">&sect;3.10.1</a> * are as defined in section 3.10.1 of
* of the <a href="http://java.sun.com/docs/books/jls/html/">Java * <cite>The Java&trade; Language Specification</cite>,
* Language Specification</a>. * except that underscores are not accepted between digits.
* *
* <p>The sequence of characters following an optional * <p>The sequence of characters following an optional
* sign and/or radix specifier ("{@code 0x}", "{@code 0X}", * sign and/or radix specifier ("{@code 0x}", "{@code 0X}",
......
...@@ -58,9 +58,8 @@ public class Object { ...@@ -58,9 +58,8 @@ public class Object {
* *
* @return The {@code Class} object that represents the runtime * @return The {@code Class} object that represents the runtime
* class of this object. * class of this object.
* @see <a href="http://java.sun.com/docs/books/jls/">The Java * @see Class Literals, section 15.8.2 of
* Language Specification, Third Edition (15.8.2 Class * <cite>The Java&trade; Language Specification</cite>.
* Literals)</a>
*/ */
public final native Class<?> getClass(); public final native Class<?> getClass();
......
...@@ -43,7 +43,7 @@ import java.lang.annotation.*; ...@@ -43,7 +43,7 @@ import java.lang.annotation.*;
* *
* @author Peter von der Ah&eacute; * @author Peter von der Ah&eacute;
* @author Joshua Bloch * @author Joshua Bloch
* @jls3 9.6.1.4 Override * @jls 9.6.1.4 Override
* @since 1.5 * @since 1.5
*/ */
@Target(ElementType.METHOD) @Target(ElementType.METHOD)
......
...@@ -109,10 +109,9 @@ public class Package implements java.lang.reflect.AnnotatedElement { ...@@ -109,10 +109,9 @@ public class Package implements java.lang.reflect.AnnotatedElement {
/** /**
* Return the name of this package. * Return the name of this package.
* *
* @return The fully-qualified name of this package as defined in the * @return The fully-qualified name of this package as defined in section 6.5.3 of
* <em>Java Language Specification, Third Edition</em> * <cite>The Java&trade; Language Specification</cite>,
* <a href="http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.5.3"> * for example, {@code java.lang}
* &sect;6.5.3</a>, for example, {@code java.lang}
*/ */
public String getName() { public String getName() {
return pkgName; return pkgName;
......
...@@ -37,7 +37,7 @@ package java.lang; ...@@ -37,7 +37,7 @@ package java.lang;
* propagate outside the method or constructor boundary. * propagate outside the method or constructor boundary.
* *
* @author Frank Yellin * @author Frank Yellin
* @jls3 11.2 Compile-Time Checking of Exceptions * @jls 11.2 Compile-Time Checking of Exceptions
* @since JDK1.0 * @since JDK1.0
*/ */
public class RuntimeException extends Exception { public class RuntimeException extends Exception {
......
...@@ -70,8 +70,8 @@ import java.lang.annotation.*; ...@@ -70,8 +70,8 @@ import java.lang.annotation.*;
* *
* </ul> * </ul>
* *
* @jls3 4.7 Reifiable Types * @jls 4.7 Reifiable Types
* @jls3 8.4.1 Formal Parameters * @jls 8.4.1 Formal Parameters
*/ */
@Documented @Documented
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
......
...@@ -256,9 +256,9 @@ public final class Short extends Number implements Comparable<Short> { ...@@ -256,9 +256,9 @@ public final class Short extends Number implements Comparable<Short> {
* </blockquote> * </blockquote>
* *
* <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i> * <i>DecimalNumeral</i>, <i>HexDigits</i>, and <i>OctalDigits</i>
* are defined in <a href="http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#48282">&sect;3.10.1</a> * are as defined in section 3.10.1 of
* of the <a href="http://java.sun.com/docs/books/jls/html/">Java * <cite>The Java&trade; Language Specification</cite>,
* Language Specification</a>. * except that underscores are not accepted between digits.
* *
* <p>The sequence of characters following an optional * <p>The sequence of characters following an optional
* sign and/or radix specifier ("{@code 0x}", "{@code 0X}", * sign and/or radix specifier ("{@code 0x}", "{@code 0X}",
......
...@@ -2819,8 +2819,8 @@ public final class String ...@@ -2819,8 +2819,8 @@ public final class String
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -2863,8 +2863,8 @@ public final class String ...@@ -2863,8 +2863,8 @@ public final class String
* extra arguments are ignored. The number of arguments is * extra arguments are ignored. The number of arguments is
* variable and may be zero. The maximum number of arguments is * variable and may be zero. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>. The behaviour on a * The behaviour on a
* <tt>null</tt> argument depends on the <a * <tt>null</tt> argument depends on the <a
* href="../util/Formatter.html#syntax">conversion</a>. * href="../util/Formatter.html#syntax">conversion</a>.
* *
...@@ -3066,9 +3066,8 @@ public final class String ...@@ -3066,9 +3066,8 @@ public final class String
* if and only if <code>s.equals(t)</code> is <code>true</code>. * if and only if <code>s.equals(t)</code> is <code>true</code>.
* <p> * <p>
* All literal strings and string-valued constant expressions are * All literal strings and string-valued constant expressions are
* interned. String literals are defined in &sect;3.10.5 of the * interned. String literals are defined in section 3.10.5 of the
* <a href="http://java.sun.com/docs/books/jls/html/">Java Language * <cite>The Java&trade; Language Specification</cite>.
* Specification</a>
* *
* @return a string that has the same contents as this string, but is * @return a string that has the same contents as this string, but is
* guaranteed to be from a pool of unique strings. * guaranteed to be from a pool of unique strings.
......
...@@ -108,7 +108,7 @@ import java.util.*; ...@@ -108,7 +108,7 @@ import java.util.*;
* @author unascribed * @author unascribed
* @author Josh Bloch (Added exception chaining and programmatic access to * @author Josh Bloch (Added exception chaining and programmatic access to
* stack trace in 1.4.) * stack trace in 1.4.)
* @jls3 11.2 Compile-Time Checking of Exceptions * @jls 11.2 Compile-Time Checking of Exceptions
* @since JDK1.0 * @since JDK1.0
*/ */
public class Throwable implements Serializable { public class Throwable implements Serializable {
......
...@@ -31,9 +31,8 @@ package java.lang.annotation; ...@@ -31,9 +31,8 @@ package java.lang.annotation;
* an annotation type. Also note that this interface does not itself * an annotation type. Also note that this interface does not itself
* define an annotation type. * define an annotation type.
* *
* More information about annotation types can be found in <i>The * More information about annotation types can be found in section 9.6 of
* Java&trade; Language Specification, Third Edition</i>, <a * <cite>The Java&trade; Language Specification</cite>.
* href="http://java.sun.com/docs/books/jls/third_edition/html/interfaces.html#9.6">&sect;9.6</a>.
* *
* @author Josh Bloch * @author Josh Bloch
* @since 1.5 * @since 1.5
......
...@@ -36,9 +36,9 @@ import java.security.ProtectionDomain; ...@@ -36,9 +36,9 @@ import java.security.ProtectionDomain;
* to transform class files. * to transform class files.
* The transformation occurs before the class is defined by the JVM. * The transformation occurs before the class is defined by the JVM.
* <P> * <P>
* Note the term <i>class file</i> is used as defined in the chapter * Note the term <i>class file</i> is used as defined in section 3.1 of
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#80959">The class File Format</a> * <cite>The Java&trade; Virtual Machine Specification</cite>,
* of <i>The Java Virtual Machine Specification</i>, to mean a sequence * to mean a sequence
* of bytes in class file format, whether or not they reside in a file. * of bytes in class file format, whether or not they reside in a file.
* *
* @see java.lang.instrument.Instrumentation * @see java.lang.instrument.Instrumentation
......
...@@ -434,8 +434,9 @@ public interface Instrumentation { ...@@ -434,8 +434,9 @@ public interface Instrumentation {
* avoiding these types of issues, is to use a unique package name for the * avoiding these types of issues, is to use a unique package name for the
* instrumentation classes. * instrumentation classes.
* *
* <p> The <a href="http://java.sun.com/docs/books/vmspec/">Java Virtual Machine * <p>
* Specification</a> specifies that a subsequent attempt to resolve a symbolic * <cite>The Java&trade; Virtual Machine Specification</cite>
* specifies that a subsequent attempt to resolve a symbolic
* reference that the Java virtual machine has previously unsuccessfully attempted * reference that the Java virtual machine has previously unsuccessfully attempted
* to resolve always fails with the same error that was thrown as a result of the * to resolve always fails with the same error that was thrown as a result of the
* initial resolution attempt. Consequently, if the JAR file contains an entry * initial resolution attempt. Consequently, if the JAR file contains an entry
...@@ -487,8 +488,9 @@ public interface Instrumentation { ...@@ -487,8 +488,9 @@ public interface Instrumentation {
* getName()} method on the <code>jarfile</code> and this is provided as the * getName()} method on the <code>jarfile</code> and this is provided as the
* parameter to the <code>appendToClassPathForInstrumentation</code> method. * parameter to the <code>appendToClassPathForInstrumentation</code> method.
* *
* <p> The <a href="http://java.sun.com/docs/books/vmspec/">Java Virtual Machine * <p>
* Specification</a> specifies that a subsequent attempt to resolve a symbolic * <cite>The Java&trade; Virtual Machine Specification</cite>
* specifies that a subsequent attempt to resolve a symbolic
* reference that the Java virtual machine has previously unsuccessfully attempted * reference that the Java virtual machine has previously unsuccessfully attempted
* to resolve always fails with the same error that was thrown as a result of the * to resolve always fails with the same error that was thrown as a result of the
* initial resolution attempt. Consequently, if the JAR file contains an entry * initial resolution attempt. Consequently, if the JAR file contains an entry
......
...@@ -194,8 +194,8 @@ ...@@ -194,8 +194,8 @@
* Method handle constants for subtags {@code REF_getStatic}, {@code REF_putStatic}, and {@code REF_invokeStatic} * Method handle constants for subtags {@code REF_getStatic}, {@code REF_putStatic}, and {@code REF_invokeStatic}
* may force class initialization on their first invocation, just like the corresponding bytecodes. * may force class initialization on their first invocation, just like the corresponding bytecodes.
* <p> * <p>
* The rules of section 5.4.3 of the * The rules of section 5.4.3 of
* <a href="http://java.sun.com/docs/books/jvms/second_edition/html/ConstantPool.doc.html#73492">JVM Specification</a> * <cite>The Java&trade; Virtual Machine Specification</cite>
* apply to the resolution of {@code CONSTANT_MethodType}, {@code CONSTANT_MethodHandle}, * apply to the resolution of {@code CONSTANT_MethodType}, {@code CONSTANT_MethodHandle},
* and {@code CONSTANT_InvokeDynamic} constants, * and {@code CONSTANT_InvokeDynamic} constants,
* by the execution of {@code invokedynamic} and {@code ldc} instructions. * by the execution of {@code invokedynamic} and {@code ldc} instructions.
......
...@@ -186,8 +186,8 @@ public final ...@@ -186,8 +186,8 @@ public final
* the type variables declared by this generic declaration * the type variables declared by this generic declaration
* @throws GenericSignatureFormatError if the generic * @throws GenericSignatureFormatError if the generic
* signature of this generic declaration does not conform to * signature of this generic declaration does not conform to
* the format specified in the Java Virtual Machine Specification, * the format specified in
* 3rd edition * <cite>The Java&trade; Virtual Machine Specification</cite>
* @since 1.5 * @since 1.5
*/ */
public TypeVariable<Constructor<T>>[] getTypeParameters() { public TypeVariable<Constructor<T>>[] getTypeParameters() {
...@@ -229,7 +229,8 @@ public final ...@@ -229,7 +229,8 @@ public final
* parameter types of the underlying method, in declaration order * parameter types of the underlying method, in declaration order
* @throws GenericSignatureFormatError * @throws GenericSignatureFormatError
* if the generic method signature does not conform to the format * if the generic method signature does not conform to the format
* specified in the Java Virtual Machine Specification, 3rd edition * specified in
* <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if any of the parameter * @throws TypeNotPresentException if any of the parameter
* types of the underlying method refers to a non-existent type * types of the underlying method refers to a non-existent type
* declaration * declaration
...@@ -273,7 +274,8 @@ public final ...@@ -273,7 +274,8 @@ public final
* thrown by the underlying method * thrown by the underlying method
* @throws GenericSignatureFormatError * @throws GenericSignatureFormatError
* if the generic method signature does not conform to the format * if the generic method signature does not conform to the format
* specified in the Java Virtual Machine Specification, 3rd edition * specified in
* <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if the underlying method's * @throws TypeNotPresentException if the underlying method's
* {@code throws} clause refers to a non-existent type declaration * {@code throws} clause refers to a non-existent type declaration
* @throws MalformedParameterizedTypeException if * @throws MalformedParameterizedTypeException if
...@@ -468,8 +470,8 @@ public final ...@@ -468,8 +470,8 @@ public final
* *
* <p>If the constructor's declaring class is an inner class in a * <p>If the constructor's declaring class is an inner class in a
* non-static context, the first argument to the constructor needs * non-static context, the first argument to the constructor needs
* to be the enclosing instance; see <i>The Java Language * to be the enclosing instance; see section 15.9.3 of
* Specification</i>, section 15.9.3. * <cite>The Java&trade; Language Specification</cite>.
* *
* <p>If the required access and argument checks succeed and the * <p>If the required access and argument checks succeed and the
* instantiation will proceed, the constructor's declaring class * instantiation will proceed, the constructor's declaring class
...@@ -541,7 +543,8 @@ public final ...@@ -541,7 +543,8 @@ public final
* constructor; returns {@code false} otherwise. * constructor; returns {@code false} otherwise.
* *
* @return true if and only if this constructor is a synthetic * @return true if and only if this constructor is a synthetic
* constructor as defined by the Java Language Specification. * constructor as defined by
* <cite>The Java&trade; Language Specification</cite>.
* @since 1.5 * @since 1.5
*/ */
public boolean isSynthetic() { public boolean isSynthetic() {
......
...@@ -221,8 +221,8 @@ class Field extends AccessibleObject implements Member { ...@@ -221,8 +221,8 @@ class Field extends AccessibleObject implements Member {
* @return a {@code Type} object that represents the declared type for * @return a {@code Type} object that represents the declared type for
* the field represented by this {@code Field} object * the field represented by this {@code Field} object
* @throws GenericSignatureFormatError if the generic field * @throws GenericSignatureFormatError if the generic field
* signature does not conform to the format specified in the Java * signature does not conform to the format specified in
* Virtual Machine Specification, 3rd edition * <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if the generic type * @throws TypeNotPresentException if the generic type
* signature of the underlying field refers to a non-existent * signature of the underlying field refers to a non-existent
* type declaration * type declaration
......
...@@ -42,8 +42,8 @@ public interface GenericDeclaration { ...@@ -42,8 +42,8 @@ public interface GenericDeclaration {
* the type variables declared by this generic declaration * the type variables declared by this generic declaration
* @throws GenericSignatureFormatError if the generic * @throws GenericSignatureFormatError if the generic
* signature of this generic declaration does not conform to * signature of this generic declaration does not conform to
* the format specified in the Java Virtual Machine Specification, * the format specified in
* 3rd edition * <cite>The Java&trade; Virtual Machine Specification</cite>
*/ */
public TypeVariable<?>[] getTypeParameters(); public TypeVariable<?>[] getTypeParameters();
} }
...@@ -194,8 +194,8 @@ public final ...@@ -194,8 +194,8 @@ public final
* the type variables declared by this generic declaration * the type variables declared by this generic declaration
* @throws GenericSignatureFormatError if the generic * @throws GenericSignatureFormatError if the generic
* signature of this generic declaration does not conform to * signature of this generic declaration does not conform to
* the format specified in the Java Virtual Machine Specification, * the format specified in
* 3rd edition * <cite>The Java&trade; Virtual Machine Specification</cite>
* @since 1.5 * @since 1.5
*/ */
public TypeVariable<Method>[] getTypeParameters() { public TypeVariable<Method>[] getTypeParameters() {
...@@ -230,7 +230,8 @@ public final ...@@ -230,7 +230,8 @@ public final
* type of the underlying method * type of the underlying method
* @throws GenericSignatureFormatError * @throws GenericSignatureFormatError
* if the generic method signature does not conform to the format * if the generic method signature does not conform to the format
* specified in the Java Virtual Machine Specification, 3rd edition * specified in
* <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if the underlying method's * @throws TypeNotPresentException if the underlying method's
* return type refers to a non-existent type declaration * return type refers to a non-existent type declaration
* @throws MalformedParameterizedTypeException if the * @throws MalformedParameterizedTypeException if the
...@@ -275,7 +276,8 @@ public final ...@@ -275,7 +276,8 @@ public final
* parameter types of the underlying method, in declaration order * parameter types of the underlying method, in declaration order
* @throws GenericSignatureFormatError * @throws GenericSignatureFormatError
* if the generic method signature does not conform to the format * if the generic method signature does not conform to the format
* specified in the Java Virtual Machine Specification, 3rd edition * specified in
* <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if any of the parameter * @throws TypeNotPresentException if any of the parameter
* types of the underlying method refers to a non-existent type * types of the underlying method refers to a non-existent type
* declaration * declaration
...@@ -319,7 +321,8 @@ public final ...@@ -319,7 +321,8 @@ public final
* thrown by the underlying method * thrown by the underlying method
* @throws GenericSignatureFormatError * @throws GenericSignatureFormatError
* if the generic method signature does not conform to the format * if the generic method signature does not conform to the format
* specified in the Java Virtual Machine Specification, 3rd edition * specified in
* <cite>The Java&trade; Virtual Machine Specification</cite>
* @throws TypeNotPresentException if the underlying method's * @throws TypeNotPresentException if the underlying method's
* {@code throws} clause refers to a non-existent type declaration * {@code throws} clause refers to a non-existent type declaration
* @throws MalformedParameterizedTypeException if * @throws MalformedParameterizedTypeException if
......
...@@ -34,14 +34,8 @@ import sun.reflect.ReflectionFactory; ...@@ -34,14 +34,8 @@ import sun.reflect.ReflectionFactory;
* constants to decode class and member access modifiers. The sets of * constants to decode class and member access modifiers. The sets of
* modifiers are represented as integers with distinct bit positions * modifiers are represented as integers with distinct bit positions
* representing different modifiers. The values for the constants * representing different modifiers. The values for the constants
* representing the modifiers are taken from <a * representing the modifiers are taken from the tables in sections 4.1, 4.4, 4.5, and 4.7 of
* href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html"><i>The * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Java</i><sup><small>TM</small></sup> <i>Virtual Machine Specification, Second
* edition</i></a> tables
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#75734">4.1</a>,
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#88358">4.4</a>,
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#75568">4.5</a>, and
* <a href="http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#88478">4.7</a>.
* *
* @see Class#getModifiers() * @see Class#getModifiers()
* @see Member#getModifiers() * @see Member#getModifiers()
...@@ -214,14 +208,8 @@ class Modifier { ...@@ -214,14 +208,8 @@ class Modifier {
* public final synchronized strictfp * public final synchronized strictfp
* </pre></blockquote> * </pre></blockquote>
* The modifier names are returned in an order consistent with the * The modifier names are returned in an order consistent with the
* suggested modifier orderings given in <a * suggested modifier orderings given in sections 8.1.1, 8.3.1, 8.4.3, 8.8.3, and 9.1.1 of
* href="http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html"><em>The * <cite>The Java&trade; Language Specification</cite>.
* Java Language Specification, Second Edition</em></a> sections
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#21613">&sect;8.1.1</a>,
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#78091">&sect;8.3.1</a>,
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#78188">&sect;8.4.3</a>,
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/classes.doc.html#42018">&sect;8.8.3</a>, and
* <a href="http://java.sun.com/docs/books/jls/second_edition/html/interfaces.doc.html#235947">&sect;9.1.1</a>.
* The full modifier ordering used by this method is: * The full modifier ordering used by this method is:
* <blockquote> {@code * <blockquote> {@code
* public protected private abstract static final transient * public protected private abstract static final transient
...@@ -269,9 +257,8 @@ class Modifier { ...@@ -269,9 +257,8 @@ class Modifier {
} }
/* /*
* Access modifier flag constants from <em>The Java Virtual * Access modifier flag constants from tables 4.1, 4.4, 4.5, and 4.7 of
* Machine Specification, Second Edition</em>, tables 4.1, 4.4, * <cite>The Java&trade; Virtual Machine Specification</cite>
* 4.5, and 4.7.
*/ */
/** /**
...@@ -403,7 +390,7 @@ class Modifier { ...@@ -403,7 +390,7 @@ class Modifier {
* @return an {@code int} value OR-ing together the source language * @return an {@code int} value OR-ing together the source language
* modifiers that can be applied to a class. * modifiers that can be applied to a class.
* *
* @jls3 8.1.1 Class Modifiers * @jls 8.1.1 Class Modifiers
* @since 1.7 * @since 1.7
*/ */
public static int classModifiers() { public static int classModifiers() {
...@@ -416,7 +403,7 @@ class Modifier { ...@@ -416,7 +403,7 @@ class Modifier {
* @return an {@code int} value OR-ing together the source language * @return an {@code int} value OR-ing together the source language
* modifiers that can be applied to an inteface. * modifiers that can be applied to an inteface.
* *
* @jls3 9.1.1 Interface Modifiers * @jls 9.1.1 Interface Modifiers
* @since 1.7 * @since 1.7
*/ */
public static int interfaceModifiers() { public static int interfaceModifiers() {
...@@ -429,7 +416,7 @@ class Modifier { ...@@ -429,7 +416,7 @@ class Modifier {
* @return an {@code int} value OR-ing together the source language * @return an {@code int} value OR-ing together the source language
* modifiers that can be applied to a constructor. * modifiers that can be applied to a constructor.
* *
* @jls3 8.8.3 Constructor Modifiers * @jls 8.8.3 Constructor Modifiers
* @since 1.7 * @since 1.7
*/ */
public static int constructorModifiers() { public static int constructorModifiers() {
...@@ -442,7 +429,7 @@ class Modifier { ...@@ -442,7 +429,7 @@ class Modifier {
* @return an {@code int} value OR-ing together the source language * @return an {@code int} value OR-ing together the source language
* modifiers that can be applied to a method. * modifiers that can be applied to a method.
* *
* @jls3 8.4.3 Method Modifiers * @jls 8.4.3 Method Modifiers
* @since 1.7 * @since 1.7
*/ */
public static int methodModifiers() { public static int methodModifiers() {
...@@ -456,7 +443,7 @@ class Modifier { ...@@ -456,7 +443,7 @@ class Modifier {
* @return an {@code int} value OR-ing together the source language * @return an {@code int} value OR-ing together the source language
* modifiers that can be applied to a field. * modifiers that can be applied to a field.
* *
* @jls3 8.3.1 Field Modifiers * @jls 8.3.1 Field Modifiers
* @since 1.7 * @since 1.7
*/ */
public static int fieldModifiers() { public static int fieldModifiers() {
......
...@@ -2905,12 +2905,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> { ...@@ -2905,12 +2905,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
/** /**
* Converts this {@code BigDecimal} to a {@code BigInteger}. * Converts this {@code BigDecimal} to a {@code BigInteger}.
* This conversion is analogous to a <a * This conversion is analogous to the
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code double} to
* primitive conversion</i></a> from {@code double} to * {@code long} as defined in section 5.1.3 of
* {@code long} as defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * any fractional part of this
* Specification</a>: any fractional part of this
* {@code BigDecimal} will be discarded. Note that this * {@code BigDecimal} will be discarded. Note that this
* conversion can lose information about the precision of the * conversion can lose information about the precision of the
* {@code BigDecimal} value. * {@code BigDecimal} value.
...@@ -2942,13 +2941,12 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> { ...@@ -2942,13 +2941,12 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
} }
/** /**
* Converts this {@code BigDecimal} to a {@code long}. This * Converts this {@code BigDecimal} to a {@code long}.
* conversion is analogous to a <a * This conversion is analogous to the
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code double} to
* primitive conversion</i></a> from {@code double} to * {@code short} as defined in section 5.1.3 of
* {@code short} as defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * any fractional part of this
* Specification</a>: any fractional part of this
* {@code BigDecimal} will be discarded, and if the resulting * {@code BigDecimal} will be discarded, and if the resulting
* "{@code BigInteger}" is too big to fit in a * "{@code BigInteger}" is too big to fit in a
* {@code long}, only the low-order 64 bits are returned. * {@code long}, only the low-order 64 bits are returned.
...@@ -3011,13 +3009,12 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> { ...@@ -3011,13 +3009,12 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
} }
/** /**
* Converts this {@code BigDecimal} to an {@code int}. This * Converts this {@code BigDecimal} to an {@code int}.
* conversion is analogous to a <a * This conversion is analogous to the
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code double} to
* primitive conversion</i></a> from {@code double} to * {@code short} as defined in section 5.1.3 of
* {@code short} as defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * any fractional part of this
* Specification</a>: any fractional part of this
* {@code BigDecimal} will be discarded, and if the resulting * {@code BigDecimal} will be discarded, and if the resulting
* "{@code BigInteger}" is too big to fit in an * "{@code BigInteger}" is too big to fit in an
* {@code int}, only the low-order 32 bits are returned. * {@code int}, only the low-order 32 bits are returned.
...@@ -3095,12 +3092,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> { ...@@ -3095,12 +3092,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
/** /**
* Converts this {@code BigDecimal} to a {@code float}. * Converts this {@code BigDecimal} to a {@code float}.
* This conversion is similar to the <a * This conversion is similar to the
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code double} to
* primitive conversion</i></a> from {@code double} to * {@code float} as defined in section 5.1.3 of
* {@code float} defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * if this {@code BigDecimal} has too great a
* Specification</a>: if this {@code BigDecimal} has too great a
* magnitude to represent as a {@code float}, it will be * magnitude to represent as a {@code float}, it will be
* converted to {@link Float#NEGATIVE_INFINITY} or {@link * converted to {@link Float#NEGATIVE_INFINITY} or {@link
* Float#POSITIVE_INFINITY} as appropriate. Note that even when * Float#POSITIVE_INFINITY} as appropriate. Note that even when
...@@ -3119,12 +3115,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> { ...@@ -3119,12 +3115,11 @@ public class BigDecimal extends Number implements Comparable<BigDecimal> {
/** /**
* Converts this {@code BigDecimal} to a {@code double}. * Converts this {@code BigDecimal} to a {@code double}.
* This conversion is similar to the <a * This conversion is similar to the
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code double} to
* primitive conversion</i></a> from {@code double} to * {@code float} as defined in section 5.1.3 of
* {@code float} as defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * if this {@code BigDecimal} has too great a
* Specification</a>: if this {@code BigDecimal} has too great a
* magnitude represent as a {@code double}, it will be * magnitude represent as a {@code double}, it will be
* converted to {@link Double#NEGATIVE_INFINITY} or {@link * converted to {@link Double#NEGATIVE_INFINITY} or {@link
* Double#POSITIVE_INFINITY} as appropriate. Note that even when * Double#POSITIVE_INFINITY} as appropriate. Note that even when
......
...@@ -2719,12 +2719,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> { ...@@ -2719,12 +2719,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/** /**
* Converts this BigInteger to an {@code int}. This * Converts this BigInteger to an {@code int}. This
* conversion is analogous to a <a * conversion is analogous to a
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code long} to
* primitive conversion</i></a> from {@code long} to * {@code int} as defined in section 5.1.3 of
* {@code int} as defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * if this BigInteger is too big to fit in an
* Specification</a>: if this BigInteger is too big to fit in an
* {@code int}, only the low-order 32 bits are returned. * {@code int}, only the low-order 32 bits are returned.
* Note that this conversion can lose information about the * Note that this conversion can lose information about the
* overall magnitude of the BigInteger value as well as return a * overall magnitude of the BigInteger value as well as return a
...@@ -2740,12 +2739,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> { ...@@ -2740,12 +2739,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/** /**
* Converts this BigInteger to a {@code long}. This * Converts this BigInteger to a {@code long}. This
* conversion is analogous to a <a * conversion is analogous to a
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code long} to
* primitive conversion</i></a> from {@code long} to * {@code int} as defined in section 5.1.3 of
* {@code int} as defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * if this BigInteger is too big to fit in a
* Specification</a>: if this BigInteger is too big to fit in a
* {@code long}, only the low-order 64 bits are returned. * {@code long}, only the low-order 64 bits are returned.
* Note that this conversion can lose information about the * Note that this conversion can lose information about the
* overall magnitude of the BigInteger value as well as return a * overall magnitude of the BigInteger value as well as return a
...@@ -2763,12 +2761,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> { ...@@ -2763,12 +2761,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/** /**
* Converts this BigInteger to a {@code float}. This * Converts this BigInteger to a {@code float}. This
* conversion is similar to the <a * conversion is similar to the
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code double} to
* primitive conversion</i></a> from {@code double} to * {@code float} as defined in section 5.1.3 of
* {@code float} defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * if this BigInteger has too great a magnitude
* Specification</a>: if this BigInteger has too great a magnitude
* to represent as a {@code float}, it will be converted to * to represent as a {@code float}, it will be converted to
* {@link Float#NEGATIVE_INFINITY} or {@link * {@link Float#NEGATIVE_INFINITY} or {@link
* Float#POSITIVE_INFINITY} as appropriate. Note that even when * Float#POSITIVE_INFINITY} as appropriate. Note that even when
...@@ -2784,12 +2781,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> { ...@@ -2784,12 +2781,11 @@ public class BigInteger extends Number implements Comparable<BigInteger> {
/** /**
* Converts this BigInteger to a {@code double}. This * Converts this BigInteger to a {@code double}. This
* conversion is similar to the <a * conversion is similar to the
* href="http://java.sun.com/docs/books/jls/second_edition/html/conversions.doc.html#25363"><i>narrowing * <i>narrowing primitive conversion</i> from {@code double} to
* primitive conversion</i></a> from {@code double} to * {@code float} as defined in section 5.1.3 of
* {@code float} defined in the <a * <cite>The Java&trade; Language Specification</cite>:
* href="http://java.sun.com/docs/books/jls/html/">Java Language * if this BigInteger has too great a magnitude
* Specification</a>: if this BigInteger has too great a magnitude
* to represent as a {@code double}, it will be converted to * to represent as a {@code double}, it will be converted to
* {@link Double#NEGATIVE_INFINITY} or {@link * {@link Double#NEGATIVE_INFINITY} or {@link
* Double#POSITIVE_INFINITY} as appropriate. Note that even when * Double#POSITIVE_INFINITY} as appropriate. Note that even when
......
...@@ -118,10 +118,8 @@ public class SecureClassLoader extends ClassLoader { ...@@ -118,10 +118,8 @@ public class SecureClassLoader extends ClassLoader {
* and without a trailing ".class" suffix. * and without a trailing ".class" suffix.
* @param b the bytes that make up the class data. The bytes in * @param b the bytes that make up the class data. The bytes in
* positions <code>off</code> through <code>off+len-1</code> * positions <code>off</code> through <code>off+len-1</code>
* should have the format of a valid class file as defined * should have the format of a valid class file as defined by
* by the * <cite>The Java&trade; Virtual Machine Specification</cite>.
* <a href="http://java.sun.com/docs/books/vmspec/">Java
* Virtual Machine Specification</a>.
* @param off the start offset in <code>b</code> of the class data * @param off the start offset in <code>b</code> of the class data
* @param len the length of the class data * @param len the length of the class data
* @param cs the associated CodeSource, or <code>null</code> if none * @param cs the associated CodeSource, or <code>null</code> if none
...@@ -157,9 +155,8 @@ public class SecureClassLoader extends ClassLoader { ...@@ -157,9 +155,8 @@ public class SecureClassLoader extends ClassLoader {
* and without a trailing ".class" suffix. * and without a trailing ".class" suffix.
* @param b the bytes that make up the class data. The bytes from positions * @param b the bytes that make up the class data. The bytes from positions
* <tt>b.position()</tt> through <tt>b.position() + b.limit() -1</tt> * <tt>b.position()</tt> through <tt>b.position() + b.limit() -1</tt>
* should have the format of a valid class file as defined by the * should have the format of a valid class file as defined by
* <a href="http://java.sun.com/docs/books/vmspec/">Java Virtual * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Machine Specification</a>.
* @param cs the associated CodeSource, or <code>null</code> if none * @param cs the associated CodeSource, or <code>null</code> if none
* @return the <code>Class</code> object created from the data, * @return the <code>Class</code> object created from the data,
* and optional CodeSource. * and optional CodeSource.
......
...@@ -1818,9 +1818,9 @@ import sun.misc.FormattedFloatingDecimal; ...@@ -1818,9 +1818,9 @@ import sun.misc.FormattedFloatingDecimal;
* </pre></blockquote> * </pre></blockquote>
* *
* <p> The maximum number of arguments is limited by the maximum dimension of a * <p> The maximum number of arguments is limited by the maximum dimension of a
* Java array as defined by the <a * Java array as defined by
* href="http://java.sun.com/docs/books/vmspec/">Java Virtual Machine * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Specification</a>. If the argument index is does not correspond to an * If the argument index is does not correspond to an
* available argument, then a {@link MissingFormatArgumentException} is thrown. * available argument, then a {@link MissingFormatArgumentException} is thrown.
* *
* <p> If there are more arguments than format specifiers, the extra arguments * <p> If there are more arguments than format specifiers, the extra arguments
...@@ -2403,8 +2403,7 @@ public final class Formatter implements Closeable, Flushable { ...@@ -2403,8 +2403,7 @@ public final class Formatter implements Closeable, Flushable {
* string. If there are more arguments than format specifiers, the * string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is * extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>.
* *
* @throws IllegalFormatException * @throws IllegalFormatException
* If a format string contains an illegal syntax, a format * If a format string contains an illegal syntax, a format
...@@ -2443,8 +2442,7 @@ public final class Formatter implements Closeable, Flushable { ...@@ -2443,8 +2442,7 @@ public final class Formatter implements Closeable, Flushable {
* string. If there are more arguments than format specifiers, the * string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is * extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by * limited by the maximum dimension of a Java array as defined by
* the <a href="http://java.sun.com/docs/books/vmspec/">Java * <cite>The Java&trade; Virtual Machine Specification</cite>.
* Virtual Machine Specification</a>
* *
* @throws IllegalFormatException * @throws IllegalFormatException
* If a format string contains an illegal syntax, a format * If a format string contains an illegal syntax, a format
......
...@@ -68,8 +68,9 @@ import java.io.BufferedWriter; ...@@ -68,8 +68,9 @@ import java.io.BufferedWriter;
* methods work the same way as the load(Reader)/store(Writer, String) pair, except * methods work the same way as the load(Reader)/store(Writer, String) pair, except
* the input/output stream is encoded in ISO 8859-1 character encoding. * the input/output stream is encoded in ISO 8859-1 character encoding.
* Characters that cannot be directly represented in this encoding can be written using * Characters that cannot be directly represented in this encoding can be written using
* <a href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.3">Unicode escapes</a> * Unicode escapes as defined in section 3.3 of
* ; only a single 'u' character is allowed in an escape * <cite>The Java&trade; Language Specification</cite>;
* only a single 'u' character is allowed in an escape
* sequence. The native2ascii tool can be used to convert property files to and * sequence. The native2ascii tool can be used to convert property files to and
* from other character encodings. * from other character encodings.
* *
...@@ -272,11 +273,8 @@ class Properties extends Hashtable<Object,Object> { ...@@ -272,11 +273,8 @@ class Properties extends Hashtable<Object,Object> {
* <a name="unicodeescapes"></a> * <a name="unicodeescapes"></a>
* Characters in keys and elements can be represented in escape * Characters in keys and elements can be represented in escape
* sequences similar to those used for character and string literals * sequences similar to those used for character and string literals
* (see <a * (see sections 3.3 and 3.10.6 of
* href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.3">&sect;3.3</a> * <cite>The Java&trade; Language Specification</cite>).
* and <a
* href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.10.6">&sect;3.10.6</a>
* of the <i>Java Language Specification</i>).
* *
* The differences from the character escape sequences and Unicode * The differences from the character escape sequences and Unicode
* escapes used for characters and strings are: * escapes used for characters and strings are:
...@@ -326,8 +324,9 @@ class Properties extends Hashtable<Object,Object> { ...@@ -326,8 +324,9 @@ class Properties extends Hashtable<Object,Object> {
* {@link #load(java.io.Reader) load(Reader)} and is assumed to use * {@link #load(java.io.Reader) load(Reader)} and is assumed to use
* the ISO 8859-1 character encoding; that is each byte is one Latin1 * the ISO 8859-1 character encoding; that is each byte is one Latin1
* character. Characters not in Latin1, and certain special characters, * character. Characters not in Latin1, and certain special characters,
* are represented in keys and elements using * are represented in keys and elements using Unicode escapes as defined in
* <a href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.3">Unicode escapes</a>. * section 3.3 of
* <cite>The Java&trade; Language Specification</cite>.
* <p> * <p>
* The specified stream remains open after this method returns. * The specified stream remains open after this method returns.
* *
......
...@@ -104,8 +104,9 @@ import sun.util.ResourceBundleEnumeration; ...@@ -104,8 +104,9 @@ import sun.util.ResourceBundleEnumeration;
* from an InputStream or a Reader, which represents a property file. * from an InputStream or a Reader, which represents a property file.
* Constructing a PropertyResourceBundle instance from an InputStream requires * Constructing a PropertyResourceBundle instance from an InputStream requires
* that the input stream be encoded in ISO-8859-1. In that case, characters * that the input stream be encoded in ISO-8859-1. In that case, characters
* that cannot be represented in ISO-8859-1 encoding must be represented by * that cannot be represented in ISO-8859-1 encoding must be represented by Unicode Escapes
* <a href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#3.3">Unicode Escapes</a>, * as defined in section 3.3 of
* <cite>The Java&trade; Language Specification</cite>
* whereas the other constructor which takes a Reader does not have that limitation. * whereas the other constructor which takes a Reader does not have that limitation.
* *
* @see ResourceBundle * @see ResourceBundle
......
...@@ -80,9 +80,8 @@ ...@@ -80,9 +80,8 @@
* </pre> * </pre>
* *
* <p>The memory effects for accesses and updates of atomics generally * <p>The memory effects for accesses and updates of atomics generally
* follow the rules for volatiles, as stated in * follow the rules for volatiles, as stated in section 17.4 of
* <a href="http://java.sun.com/docs/books/jls/"> The Java Language * <cite>The Java&trade; Language Specification</cite>.
* Specification, Third Edition (17.4 Memory Model)</a>:
* *
* <ul> * <ul>
* *
......
...@@ -120,8 +120,8 @@ import java.util.concurrent.TimeUnit; ...@@ -120,8 +120,8 @@ import java.util.concurrent.TimeUnit;
* *
* <p>All {@code Lock} implementations <em>must</em> enforce the same * <p>All {@code Lock} implementations <em>must</em> enforce the same
* memory synchronization semantics as provided by the built-in monitor * memory synchronization semantics as provided by the built-in monitor
* lock, as described in <a href="http://java.sun.com/docs/books/jls/"> * lock, as described in section 17.4 of
* The Java Language Specification, Third Edition (17.4 Memory Model)</a>: * <cite>The Java&trade; Language Specification</cite>:
* <ul> * <ul>
* <li>A successful {@code lock} operation has the same memory * <li>A successful {@code lock} operation has the same memory
* synchronization effects as a successful <em>Lock</em> action. * synchronization effects as a successful <em>Lock</em> action.
......
...@@ -218,8 +218,9 @@ ...@@ -218,8 +218,9 @@
* *
* <h2><a name="MemoryVisibility">Memory Consistency Properties</a></h2> * <h2><a name="MemoryVisibility">Memory Consistency Properties</a></h2>
* *
* <a href="http://java.sun.com/docs/books/jls/third_edition/html/memory.html"> * Chapter 17 of
* Chapter 17 of the Java Language Specification</a> defines the * <cite>The Java&trade; Language Specification</cite>
* defines the
* <i>happens-before</i> relation on memory operations such as reads and * <i>happens-before</i> relation on memory operations such as reads and
* writes of shared variables. The results of a write by one thread are * writes of shared variables. The results of a write by one thread are
* guaranteed to be visible to a read by another thread only if the write * guaranteed to be visible to a read by another thread only if the write
......
...@@ -181,8 +181,8 @@ public abstract class Pack200 { ...@@ -181,8 +181,8 @@ public abstract class Pack200 {
* The class files will not contain identical bytes, since the unpacker * The class files will not contain identical bytes, since the unpacker
* is free to change minor class file features such as constant pool order. * is free to change minor class file features such as constant pool order.
* However, the class files will be semantically identical, * However, the class files will be semantically identical,
* as specified in the Java Virtual Machine Specification * as specified in
* <a href="http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html">http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html</a>. * <cite>The Java&trade; Virtual Machine Specification</cite>.
* <p> * <p>
* By default, the packer does not change the order of JAR elements. * By default, the packer does not change the order of JAR elements.
* Also, the modification time and deflation hint of each * Also, the modification time and deflation hint of each
......
...@@ -369,13 +369,10 @@ import java.util.Arrays; ...@@ -369,13 +369,10 @@ import java.util.Arrays;
* part of an unescaped construct. * part of an unescaped construct.
* *
* <p> Backslashes within string literals in Java source code are interpreted * <p> Backslashes within string literals in Java source code are interpreted
* as required by the <a * as required by
* href="http://java.sun.com/docs/books/jls">Java Language * <cite>The Java&trade; Language Specification</cite>
* Specification</a> as either <a * as either Unicode escapes (section 3.3) or other character escapes (section 3.10.6)
* href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#100850">Unicode * It is therefore necessary to double backslashes in string
* escapes</a> or other <a
* href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#101089">character
* escapes</a>. It is therefore necessary to double backslashes in string
* literals that represent regular expressions to protect them from * literals that represent regular expressions to protect them from
* interpretation by the Java bytecode compiler. The string literal * interpretation by the Java bytecode compiler. The string literal
* <tt>"&#92;b"</tt>, for example, matches a single backspace character when * <tt>"&#92;b"</tt>, for example, matches a single backspace character when
...@@ -525,9 +522,9 @@ import java.util.Arrays; ...@@ -525,9 +522,9 @@ import java.util.Arrays;
* Canonical Equivalents. * Canonical Equivalents.
* *
* <p> Unicode escape sequences such as <tt>&#92;u2014</tt> in Java source code * <p> Unicode escape sequences such as <tt>&#92;u2014</tt> in Java source code
* are processed as described in <a * are processed as described in section 3.3 of
* href="http://java.sun.com/docs/books/jls/third_edition/html/lexical.html#100850">\u00A73.3</a> * <cite>The Java&trade; Language Specification</cite>.
* of the Java Language Specification. Such escape sequences are also * Such escape sequences are also
* implemented directly by the regular-expression parser so that Unicode * implemented directly by the regular-expression parser so that Unicode
* escapes can be used in expressions that are read from files or from the * escapes can be used in expressions that are read from files or from the
* keyboard. Thus the strings <tt>"&#92;u2014"</tt> and <tt>"\\u2014"</tt>, * keyboard. Thus the strings <tt>"&#92;u2014"</tt> and <tt>"\\u2014"</tt>,
......
...@@ -154,11 +154,8 @@ rmi://192.18.1.9 username 1 ...@@ -154,11 +154,8 @@ rmi://192.18.1.9 username 1
</pre> </pre>
<p>The formal grammar for connection ids that follow this <p>The formal grammar for connection ids that follow this
convention is as follows (using the <a convention is as follows (using the grammar notation from section 2.4 of
href="http://java.sun.com/docs/books/jls/second_edition/html/grammars.doc.html#90767">grammar <em>The Java&trade; Language Specification</em>):</p>
notation</a> from <em>The Java Language Specification, Second
Edition</em>):</p>
<pre> <pre>
<em>ConnectionId:</em> <em>ConnectionId:</em>
<em>Protocol</em> : <em>ClientAddress<sub>opt</sub></em> Space <em>ClientId<sub>opt</sub></em> Space <em>ArbitraryText</em> <em>Protocol</em> : <em>ClientAddress<sub>opt</sub></em> Space <em>ClientId<sub>opt</sub></em> Space <em>ArbitraryText</em>
......
...@@ -531,10 +531,9 @@ public class FpUtils { ...@@ -531,10 +531,9 @@ public class FpUtils {
* Return {@code d} &times; * Return {@code d} &times;
* 2<sup>{@code scale_factor}</sup> rounded as if performed * 2<sup>{@code scale_factor}</sup> rounded as if performed
* by a single correctly rounded floating-point multiply to a * by a single correctly rounded floating-point multiply to a
* member of the double value set. See <a * member of the double value set. See section 4.2.3 of
* href="http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html#9208">&sect;4.2.3</a> * <cite>The Java&trade; Language Specification</cite>
* of the <a href="http://java.sun.com/docs/books/jls/html/">Java * for a discussion of floating-point
* Language Specification</a> for a discussion of floating-point
* value sets. If the exponent of the result is between the * value sets. If the exponent of the result is between the
* {@code double}'s minimum exponent and maximum exponent, * {@code double}'s minimum exponent and maximum exponent,
* the answer is calculated exactly. If the exponent of the * the answer is calculated exactly. If the exponent of the
...@@ -641,11 +640,10 @@ public class FpUtils { ...@@ -641,11 +640,10 @@ public class FpUtils {
* Return {@code f} &times; * Return {@code f} &times;
* 2<sup>{@code scale_factor}</sup> rounded as if performed * 2<sup>{@code scale_factor}</sup> rounded as if performed
* by a single correctly rounded floating-point multiply to a * by a single correctly rounded floating-point multiply to a
* member of the float value set. See <a * member of the float value set. See section 4.2.3 of
* href="http://java.sun.com/docs/books/jls/second_edition/html/typesValues.doc.html#9208">&sect;4.2.3</a> * <cite>The Java&trade; Language Specification</cite>
* of the <a href="http://java.sun.com/docs/books/jls/html/">Java * for a discussion of floating-point
* Language Specification</a> for a discussion of floating-point * value sets. If the exponent of the result is between the
* value set. If the exponent of the result is between the
* {@code float}'s minimum exponent and maximum exponent, the * {@code float}'s minimum exponent and maximum exponent, the
* answer is calculated exactly. If the exponent of the result * answer is calculated exactly. If the exponent of the result
* would be larger than {@code float}'s maximum exponent, an * would be larger than {@code float}'s maximum exponent, an
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册