Skip to content

Commit e70cbcf

Browse files
committed
8341541: Wrong anchor in wrapper classes links
Reviewed-by: hannesw, liach
1 parent 86e3d52 commit e70cbcf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: src/java.base/share/classes/java/lang/package-info.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
* Object}, which is the root of the class hierarchy, and {@link
3030
* Class}, instances of which represent classes at run time.
3131
*
32-
* <p>Frequently it is necessary to represent a value of primitive
33-
* type as if it were an object.The <dfn id=wrapperClasses>{@index
32+
* <p id=wrapperClass>Frequently it is necessary to represent a
33+
* value of primitive type as if it were an object.The <dfn>{@index
3434
* "wrapper classes"}</dfn> {@link Boolean}, {@link Byte}, {@link
3535
* Character}, {@link Short}, {@link Integer}, {@link Long}, {@link
3636
* Float}, and {@link Double} serve this purpose. An object of type

Diff for: src/java.compiler/share/classes/javax/lang/model/util/Types.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public interface Types {
206206
*
207207
* @throws IllegalArgumentException if the given type has no
208208
* unboxing conversion. Only types for the {@linkplain
209-
* java.lang##wrapperClasses wrapper classes} have an
209+
* java.lang##wrapperClass wrapper classes} have an
210210
* unboxing conversion.
211211
* @jls 5.1.8 Unboxing Conversion
212212
*/

0 commit comments

Comments
 (0)