8079186: Add 'localeServiceProvider' target in the class description of RuntimePermission
authornaoto
Thu, 07 May 2015 08:55:17 -0700
changeset 30378 c631cf59315d
parent 30377 0d3a70ab05f9
child 30379 42d3c3090d20
child 30669 1e0b67b29f14
8079186: Add 'localeServiceProvider' target in the class description of RuntimePermission Reviewed-by: mullan
jdk/src/java.base/share/classes/java/lang/RuntimePermission.java
--- a/jdk/src/java.base/share/classes/java/lang/RuntimePermission.java	Thu May 07 17:29:05 2015 +0200
+++ b/jdk/src/java.base/share/classes/java/lang/RuntimePermission.java	Thu May 07 08:55:17 2015 -0700
@@ -333,6 +333,19 @@
  *   "../../../technotes/guides/plugin/developer_guide/rsa_how.html#use">
  *   usePolicy Permission</a>.</td>
  * </tr>
+ *
+ * <tr>
+ *   <td>localeServiceProvider</td>
+ *   <td>This {@code RuntimePermission} is required to be granted to
+ *   classes which subclass and implement
+ *   {@code java.util.spi.LocaleServiceProvider}. The permission is
+ *   checked during invocation of the abstract base class constructor.
+ *   This permission ensures trust in classes which implement this
+ *   security-sensitive provider mechanism. </td>
+ *   <td>See <a href= "../util/spi/LocaleServiceProvider.html">
+ *   {@code java.util.spi.LocaleServiceProvider}</a> for more
+ *   information.</td>
+ * </tr>
  * </table>
  *
  * @see java.security.BasicPermission