# HG changeset patch # User hseigel # Date 1503083252 14400 # Node ID 161d696f4ff49689067552001cfe71d582cefa23 # Parent 0831cfe33d5ea6fd22b5a7342aac393945f1970b 8168677: Typo in API docs for com.sun.tools.attach Summary: Change "VirtalMachine" to "VirtualMachine" Reviewed-by: dholmes diff -r 0831cfe33d5e -r 161d696f4ff4 jdk/src/jdk.attach/share/classes/com/sun/tools/attach/AttachNotSupportedException.java --- a/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/AttachNotSupportedException.java Fri Aug 18 18:39:35 2017 +0200 +++ b/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/AttachNotSupportedException.java Fri Aug 18 15:07:32 2017 -0400 @@ -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 @@ /** * 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 -r 0831cfe33d5e -r 161d696f4ff4 jdk/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java --- a/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java Fri Aug 18 18:39:35 2017 +0200 +++ b/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java Fri Aug 18 15:07:32 2017 -0400 @@ -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.