< prev index next >
src/java.base/share/classes/java/lang/RuntimePermission.java
Print this page
@@ -41,17 +41,21 @@
* <p>
* The following table lists the standard {@code RuntimePermission}
* target names, and for each provides a description of what the permission
* allows and a discussion of the risks of granting code the permission.
*
- * <table border=1 cellpadding=5 summary="permission target name,
- * what the target allows,and associated risks">
+ * <table class="altrows">
+ * <caption style="display:none">permission target name,
+ * what the target 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>
* </tr>
+ * </thead>
+ * <tbody>
*
* <tr>
* <td>createClassLoader</td>
* <td>Creation of a class loader</td>
* <td>This is an extremely dangerous permission to grant.
@@ -381,10 +385,11 @@
* <td>Access system modules in the runtime image.</td>
* <td>This grants the permission to access resources in the
* {@linkplain ModuleFinder#ofSystem system modules} in the runtime image.</td>
* </tr>
*
+ * </tbody>
* </table>
*
* @implNote
* Implementations may define additional target names, but should use naming
* conventions such as reverse domain name notation to avoid name clashes.
< prev index next >