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

Change "VirtalMachine" to "VirtualMachine"

Reviewed-by: dholmes
This commit is contained in:
Harold Seigel 2017-08-18 15:07:32 -04:00
parent d45a0b61f9
commit 10195e6bf1
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -29,7 +29,7 @@ import com.sun.tools.attach.spi.AttachProvider; // for javadoc
/**
* 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

View File

@ -28,7 +28,7 @@ package com.sun.tools.attach;
/**
* 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.