RFR JDK 8 - Another round of doclint fixes in java.util.jar

Chris Hegarty chris.hegarty at oracle.com
Thu Jul 25 08:12:12 UTC 2013


Looks good to me Joe,

-Chris.

On 07/25/2013 07:47 AM, Joe Darcy wrote:
> Hello,
>
> Please review this change below to fix another small batch of doclint
> problem in java.util.jar.
>
> Thanks,
>
> -Joe
>
> diff -r fd1b5adcfdf0 src/share/classes/java/util/jar/Attributes.java
> --- a/src/share/classes/java/util/jar/Attributes.java    Wed Jul 24
> 22:52:01 2013 +0100
> +++ b/src/share/classes/java/util/jar/Attributes.java    Wed Jul 24
> 23:46:52 2013 -0700
> @@ -527,7 +527,7 @@
>            * <code>Name</code> object for <code>Manifest-Version</code>
>            * manifest attribute. This attribute indicates the version
> number
>            * of the manifest standard to which a JAR file's manifest
> conforms.
> -         * @see <a href="../../../../technotes/guides/jar/jar.html#JAR
> Manifest">
> +         * @see <a
> href="../../../../technotes/guides/jar/jar.html#JAR_Manifest">
>            *      Manifest and Signature Specification</a>
>            */
>           public static final Name MANIFEST_VERSION = new
> Name("Manifest-Version");
> @@ -535,7 +535,7 @@
>           /**
>            * <code>Name</code> object for <code>Signature-Version</code>
>            * manifest attribute used when signing JAR files.
> -         * @see <a href="../../../../technotes/guides/jar/jar.html#JAR
> Manifest">
> +         * @see <a
> href="../../../../technotes/guides/jar/jar.html#JAR_Manifest">
>            *      Manifest and Signature Specification</a>
>            */
>           public static final Name SIGNATURE_VERSION = new
> Name("Signature-Version");
> diff -r fd1b5adcfdf0 src/share/classes/java/util/jar/JarEntry.java
> --- a/src/share/classes/java/util/jar/JarEntry.java    Wed Jul 24
> 22:52:01 2013 +0100
> +++ b/src/share/classes/java/util/jar/JarEntry.java    Wed Jul 24
> 23:46:52 2013 -0700
> @@ -81,6 +81,7 @@
>        *
>        * @return the <code>Manifest</code> <code>Attributes</code> for this
>        * entry, or <code>null</code> if none
> +     * @throws IOException  if an I/O error has occurred
>        */
>       public Attributes getAttributes() throws IOException {
>           return attr;
> diff -r fd1b5adcfdf0 src/share/classes/java/util/jar/JarFile.java
> --- a/src/share/classes/java/util/jar/JarFile.java    Wed Jul 24
> 22:52:01 2013 +0100
> +++ b/src/share/classes/java/util/jar/JarFile.java    Wed Jul 24
> 23:46:52 2013 -0700
> @@ -168,6 +168,7 @@
>        *
>        * @throws IllegalStateException
>        *         may be thrown if the jar file has been closed
> +     * @throws IOException  if an I/O error has occurred
>        */
>       public Manifest getManifest() throws IOException {
>           return getManifestFromReference();
>



More information about the core-libs-dev mailing list