diff --git a/src/main/org/apache/tools/ant/taskdefs/Jar.java b/src/main/org/apache/tools/ant/taskdefs/Jar.java index 20c1c1776..42f19fbeb 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Jar.java +++ b/src/main/org/apache/tools/ant/taskdefs/Jar.java @@ -573,7 +573,7 @@ public class Jar extends Zip { /** * Create the index list to speed up classloading. * This is a JDK 1.3+ specific feature and is enabled by default. See - * + * * the JAR index specification for more details. * * @param zOut the zip stream representing the jar being built. diff --git a/src/main/org/apache/tools/ant/taskdefs/SignJar.java b/src/main/org/apache/tools/ant/taskdefs/SignJar.java index 1a23ba3bf..6066d87f5 100644 --- a/src/main/org/apache/tools/ant/taskdefs/SignJar.java +++ b/src/main/org/apache/tools/ant/taskdefs/SignJar.java @@ -40,10 +40,9 @@ import org.apache.tools.ant.util.ResourceUtils; * exists then its modification date is used as a cue as to whether to resign * any JAR file. * - * Timestamp driven signing is based on the unstable and inadequately documented - * information in the Java1.5 docs - * @see - * beta documentation + * Timestamp signature support is based on Java 8 + * @see + * documentation * @ant.task category="java" * @since Ant 1.1 */ diff --git a/src/main/org/apache/tools/ant/types/PatternSet.java b/src/main/org/apache/tools/ant/types/PatternSet.java index 03f8e0d0b..f2b186ea3 100644 --- a/src/main/org/apache/tools/ant/types/PatternSet.java +++ b/src/main/org/apache/tools/ant/types/PatternSet.java @@ -194,8 +194,8 @@ public class PatternSet extends DataType implements Cloneable { * *
* For a list of possible values see - * - * https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html. + * + * https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html. *
* * @param encoding String diff --git a/src/main/org/apache/tools/zip/ZipFile.java b/src/main/org/apache/tools/zip/ZipFile.java index 10c581bbe..dfb6bcf90 100644 --- a/src/main/org/apache/tools/zip/ZipFile.java +++ b/src/main/org/apache/tools/zip/ZipFile.java @@ -103,7 +103,8 @@ public class ZipFile implements Closeable { * The encoding to use for filenames and the file comment. * *For a list of possible values see https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html. + * href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html"> + * https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html. * Defaults to the platform's default character encoding.
*/ private final String encoding; diff --git a/src/main/org/apache/tools/zip/ZipOutputStream.java b/src/main/org/apache/tools/zip/ZipOutputStream.java index 70ad9c353..75acf5927 100644 --- a/src/main/org/apache/tools/zip/ZipOutputStream.java +++ b/src/main/org/apache/tools/zip/ZipOutputStream.java @@ -253,7 +253,8 @@ public class ZipOutputStream extends FilterOutputStream { * The encoding to use for filenames and the file comment. * *For a list of possible values see https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html. + * href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html"> + * https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html. * Defaults to the platform's default character encoding.
* * @since 1.3 @@ -379,7 +380,8 @@ public class ZipOutputStream extends FilterOutputStream { * The encoding to use for filenames and the file comment. * *For a list of possible values see https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html. + * href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html"> + * https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html. * Defaults to the platform's default character encoding.
* @param encoding the encoding value * @since 1.3