--- a/jdk/src/java.desktop/share/classes/java/awt/image/IndexColorModel.java Fri May 05 14:59:48 2017 -0700
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/IndexColorModel.java Sat May 06 14:58:04 2017 -0700
@@ -55,7 +55,7 @@
* {@code IndexColorModel} objects are never pre-multiplied with
* the alpha components.
* <p>
- * <a name="transparency">
+ * <a id="transparency">
* The transparency of an {@code IndexColorModel} object is
* determined by examining the alpha components of the colors in the
* colormap and choosing the most specific value after considering
@@ -86,7 +86,7 @@
* and {@code getNumComponents} returns 4.
*
* <p>
- * <a name="index_values">
+ * <a id="index_values">
* The values used to index into the colormap are taken from the least
* significant <em>n</em> bits of pixel representations where
* <em>n</em> is based on the pixel size specified in the constructor.