< prev index next >
src/java.base/share/classes/java/lang/RuntimePermission.java
Print this page
*** 41,57 ****
* <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">
* <tr>
* <th>Permission Target Name</th>
* <th>What the Permission Allows</th>
* <th>Risks of Allowing this Permission</th>
* </tr>
*
* <tr>
* <td>createClassLoader</td>
* <td>Creation of a class loader</td>
* <td>This is an extremely dangerous permission to grant.
--- 41,61 ----
* <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 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,390 ****
--- 385,395 ----
* <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 >