# HG changeset patch # User jjg # Date 1501542143 25200 # Node ID 00b5dc9d9be53e0a6065a5ec6ea5e5c129b5727c # Parent 97d615d8182702d376a7db06561b30f27734688e 8185588: jdk.attach API has accessibility issues Reviewed-by: alanb diff -r 97d615d81827 -r 00b5dc9d9be5 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 Jul 28 13:22:33 2017 -0700 +++ b/jdk/src/jdk.attach/share/classes/com/sun/tools/attach/AttachPermission.java Mon Jul 31 16:02:23 2017 -0700 @@ -42,14 +42,16 @@ * *
Permission Target Name | - *What the Permission Allows | - *Risks of Allowing this Permission | + *Permission Target Name | + *What the Permission Allows | + *Risks of Allowing this Permission | *
---|---|---|---|---|---|
attachVirtualMachine | + *attachVirtualMachine | *Ability to attach to another Java virtual machine and load agents * into that VM. * | @@ -59,14 +61,14 @@ *|||
createAttachProvider | + *createAttachProvider | *Ability to create an AttachProvider instance.
* |
* This allows an attacker to create an AttachProvider which can * potentially be used to attach to other Java virtual machines. * | *