changeset 56592:e079a4cfad75

8225314: broken links in java.base Reviewed-by: darcy
author jjg
date Tue, 04 Jun 2019 15:42:16 -0700
parents 64fe51ee940e
children f4df9d4201cc
files src/java.base/share/classes/java/lang/Enum.java src/java.base/share/classes/java/lang/invoke/VarHandle.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/Enum.java	Tue Jun 04 14:47:25 2019 -0700
+++ b/src/java.base/share/classes/java/lang/Enum.java	Tue Jun 04 15:42:16 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -283,7 +283,7 @@
     }
 
     /**
-     * A <a href="package-summary.html#nominal">nominal descriptor</a> for an
+     * A <a href="{@docRoot}/java.base/java/lang/constant/package-summary.html#nominal">nominal descriptor</a> for an
      * {@code enum} constant.
      *
      * @param <E> the type of the enum constant
--- a/src/java.base/share/classes/java/lang/invoke/VarHandle.java	Tue Jun 04 14:47:25 2019 -0700
+++ b/src/java.base/share/classes/java/lang/invoke/VarHandle.java	Tue Jun 04 15:42:16 2019 -0700
@@ -2118,7 +2118,7 @@
     }
 
     /**
-     * A <a href="package-summary.html#nominal">nominal descriptor</a> for a
+     * A <a href="{@docRoot}/java.base/java/lang/constant/package-summary.html#nominal">nominal descriptor</a> for a
      * {@link VarHandle} constant.
      *
      * @since 12