@@ -255,7 +255,7 @@ public void setIndex(boolean flag) {
255255 * jars on Java 1.4 or earlier Ant will not include META-INF
256256 * unless explicitly asked to.</p>
257257 *
258- * @see <a href="http ://bugs.sun.com/bugdatabase/view_bug.do?bug_id= 4408526">
258+ * @see <a href="https ://bugs.openjdk.java.net/browse/JDK- 4408526">
259259 * jar -i omits service providers in index.list</a>
260260 * @since Ant 1.8.0
261261 * @param flag a <code>boolean</code> value, defaults to false
@@ -573,7 +573,7 @@ protected void finalizeZipOutputStream(ZipOutputStream zOut)
573573 /**
574574 * Create the index list to speed up classloading.
575575 * This is a JDK 1.3+ specific feature and is enabled by default. See
576- * <a href="http ://java.sun .com/j2se /1.3 /docs/guide/jar/jar.html#JAR%20Index">
576+ * <a href="https ://docs.oracle .com/javase /1.5.0 /docs/guide/jar/jar.html#JAR%20Index">
577577 * the JAR index specification</a> for more details.
578578 *
579579 * @param zOut the zip stream representing the jar being built.
@@ -893,7 +893,7 @@ protected void cleanUp() {
893893 // CheckStyle:LineLength OFF - Link is too long.
894894 /**
895895 * Check against packaging spec
896- * @see "http ://java.sun .com/j2se/1.3/docs/guide/versioning/spec/VersioningSpecification .html#PackageVersioning "
896+ * @see "https ://docs.oracle .com/javase/tutorial/deployment/jar/packageman .html"
897897 */
898898 // CheckStyle:LineLength ON
899899 private void checkJarSpec () {
@@ -993,7 +993,7 @@ protected final void writeIndexLikeList(List<String> dirs, List<String> files,
993993 // and the check is not case insensitive.
994994 // see sun.misc.JarIndex
995995 // see also
996- // http ://bugs.sun.com/bugdatabase/view_bug.do?bug_id= 4408526
996+ // https ://bugs.openjdk.java.net/browse/JDK- 4408526
997997 if (!indexMetaInf && dir .startsWith ("META-INF" )) {
998998 continue ;
999999 }
0 commit comments