[PATCH] 8168677: Typo in API docs for com.sun.tools.attach

David Holmes david.holmes at oracle.com
Tue Nov 29 00:01:57 UTC 2016


cc'ing serviceability-dev as they own this.

Thanks for that Denis.

David

On 29/11/2016 9:01 AM, Denis Istomin wrote:
> # HG changeset patch
> # User Denis Istomin <istomin.den at gmail.com>
> # Date 1480189378 -18000
> #      Sun Nov 27 00:42:58 2016 +0500
> # Node ID 5d6770e434e672a485a2cf0281c5828d4a04b346
> # Parent  c9d97eff6bfd0d7376dc22d9be454f4136609df3
> Fix typo
>
> diff --git a/src/jdk.attach/share/classes/com/sun/tools/attach/AttachNotSupportedException.java
> b/src/jdk.attach/share/classes/com/sun/tools/attach/AttachNotSupportedException.java
> --- a/src/jdk.attach/share/classes/com/sun/tools/attach/AttachNotSupportedException.java
> +++ b/src/jdk.attach/share/classes/com/sun/tools/attach/AttachNotSupportedException.java
> @@ -29,7 +29,7 @@
>
>  /**
>   * Thrown by {@link com.sun.tools.attach.VirtualMachine#attach
> - * VirtalMachine.attach} when attempting to attach to a Java virtual machine
> + * VirtualMachine.attach} when attempting to attach to a Java virtual machine
>   * for which a compatible {@link com.sun.tools.attach.spi.AttachProvider
>   * AttachProvider} does not exist. It is also thrown by {@link
>   * com.sun.tools.attach.spi.AttachProvider#attachVirtualMachine
> diff --git a/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java
> b/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java
> --- a/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java
> +++ b/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java
> @@ -28,7 +28,7 @@
>  /**
>   * When a {@link java.lang.SecurityManager SecurityManager} set, this
>   * is the permission which will be checked when code invokes {@link
> - * VirtualMachine#attach VirtalMachine.attach} to attach to a target virtual
> + * VirtualMachine#attach VirtualMachine.attach} to attach to a target virtual
>   * machine.
>   * This permission is also checked when an {@link
>   * com.sun.tools.attach.spi.AttachProvider AttachProvider} is created.
>


More information about the jdk9-dev mailing list