changeset 11886:3546406dac22

8079186: Add 'localeServiceProvider' target in the class description of RuntimePermission Reviewed-by: mullan
author naoto
date Thu, 07 May 2015 08:55:17 -0700
parents 7561e0c497aa
children e4693ea10393 0b7e7ea7f2fe
files src/java.base/share/classes/java/lang/RuntimePermission.java
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/lang/RuntimePermission.java	Thu May 07 17:29:05 2015 +0200
+++ b/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