8185588: jdk.attach API has accessibility issues
authorjjg
Mon, 31 Jul 2017 16:02:23 -0700
changeset 46048 00b5dc9d9be5
parent 46047 97d615d81827
child 46049 582273afc391
8185588: jdk.attach API has accessibility issues Reviewed-by: alanb
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 @@
  *
  * <table class="striped"><caption style="display:none">Table shows permission
  * target name, what the permission allows, and associated risks</caption>
+ * <thead>
  * <tr>
- * <th>Permission Target Name</th>
- * <th>What the Permission Allows</th>
- * <th>Risks of Allowing this Permission</th>
+ * <th scope="col">Permission Target Name</th>
+ * <th scope="col">What the Permission Allows</th>
+ * <th scope="col">Risks of Allowing this Permission</th>
  * </tr>
- *
+ * </thead>
+ * <tbody>
  * <tr>
- *   <td>attachVirtualMachine</td>
+ *   <th scope="row">attachVirtualMachine</th>
  *   <td>Ability to attach to another Java virtual machine and load agents
  *       into that VM.
  *   </td>
@@ -59,14 +61,14 @@
  * </tr>
  *
  * <tr>
- *   <td>createAttachProvider</td>
+ *   <th scope="row">createAttachProvider</th>
  *   <td>Ability to create an <code>AttachProvider</code> instance.
  *   </td>
  *   <td>This allows an attacker to create an AttachProvider which can
  *       potentially be used to attach to other Java virtual machines.
  *   </td>
  * </tr>
-
+ * </tbody>
  *
  * </table>