This commit is contained in:
Jesper Wilhelmsson 2021-06-30 01:19:39 +00:00
commit ee526a2ea8
11 changed files with 110 additions and 57 deletions

View file

@ -200,7 +200,7 @@ public class Runtime {
*
* @throws SecurityException
* If a security manager is present and it denies
* {@link RuntimePermission}("shutdownHooks")
* {@link RuntimePermission}{@code ("shutdownHooks")}
*
* @see #removeShutdownHook
* @see #halt(int)
@ -230,7 +230,7 @@ public class Runtime {
*
* @throws SecurityException
* If a security manager is present and it denies
* {@link RuntimePermission}("shutdownHooks")
* {@link RuntimePermission}{@code ("shutdownHooks")}
*
* @see #addShutdownHook
* @see #exit(int)
@ -369,7 +369,7 @@ public class Runtime {
*
* <p>More precisely, the {@code command} string is broken
* into tokens using a {@link StringTokenizer} created by the call
* {@code new {@link StringTokenizer}(command)} with no
* {@code new StringTokenizer(command)} with no
* further modification of the character categories. The tokens
* produced by the tokenizer are then placed in the new string
* array {@code cmdarray}, in the same order.

View file

@ -199,6 +199,7 @@ module java.base {
jdk.attach,
jdk.charsets,
jdk.compiler,
jdk.crypto.cryptoki,
jdk.incubator.vector,
jdk.jfr,
jdk.jshell,

View file

@ -128,6 +128,7 @@ grant codeBase "jrt:/jdk.crypto.ec" {
grant codeBase "jrt:/jdk.crypto.cryptoki" {
permission java.lang.RuntimePermission
"accessClassInPackage.com.sun.crypto.provider";
permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.misc";
permission java.lang.RuntimePermission
"accessClassInPackage.sun.security.*";
permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.ch";